Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Commit 3547ef7

Browse files
authored
FDS-657 f-log scroll to searchkeyword fixedd (#255)
1 parent 7c376a3 commit 3547ef7

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/flow-log/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
# Change Log
44

5+
## [2.0.5] - 2024-03-23
6+
7+
### Bug Fixes
8+
9+
- Scroll to searchKeyword when available.
10+
511
## [2.0.4] - 2024-03-21
612

713
### Bug Fixes

packages/flow-log/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ollion/flow-log",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"description": "Code editor component for flow library",
55
"module": "dist/flow-log.es.js",
66
"main": "dist/flow-log.es.js",

packages/flow-log/src/components/f-log/f-log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export class FLog extends FRoot {
362362
});
363363
}
364364
if (changedProperties.has("searchKeyword") && this.searchKeyword) {
365-
this.highlightText(this.searchKeyword, false);
365+
this.highlightText(this.searchKeyword, true);
366366
}
367367

368368
window.addEventListener("keydown", this.searchShortCutHhandler, { capture: true });

0 commit comments

Comments
 (0)