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

Commit

Permalink
FDS-657 f-log scroll to searchkeyword fixedd (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
vikas-cldcvr authored Mar 23, 2024
1 parent 7c376a3 commit 3547ef7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/flow-log/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Change Log

## [2.0.5] - 2024-03-23

### Bug Fixes

- Scroll to searchKeyword when available.

## [2.0.4] - 2024-03-21

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-log/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ollion/flow-log",
"version": "2.0.4",
"version": "2.0.5",
"description": "Code editor component for flow library",
"module": "dist/flow-log.es.js",
"main": "dist/flow-log.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-log/src/components/f-log/f-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export class FLog extends FRoot {
});
}
if (changedProperties.has("searchKeyword") && this.searchKeyword) {
this.highlightText(this.searchKeyword, false);
this.highlightText(this.searchKeyword, true);
}

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

0 comments on commit 3547ef7

Please sign in to comment.