Skip to content

Commit

Permalink
fix: Highlight all text when selecting breadcrumb search field (#687)
Browse files Browse the repository at this point in the history
Co-authored-by: Noggling <[email protected]>
  • Loading branch information
Noggling and Noggling authored Aug 7, 2024
1 parent 3c3dc03 commit 8e44445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/pr-687-2008126638.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

---
"fusion-project-portal": patch
---
Now, when selecting context all text highlighted in the same way as we are used to in browsers.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const ContextSelector = ({ variant }: ContextSelectorProps) => {
}}
value={currentContext?.id ? currentContext?.title || '' : ''}
placeholder="Start to type to search..."
selectTextOnFocus={true}
/>
);
};

0 comments on commit 8e44445

Please sign in to comment.