Highlight match on search #592
Replies: 4 comments 1 reply
-
Try using the CSS selector |
Beta Was this translation helpful? Give feedback.
-
This is a feature request @mrchief. That selector selects parents as well, even thou matches are on children only. |
Beta Was this translation helpful? Give feedback.
-
If you are trying to get leaf nodes, all you need to do is add the
However if you want either a leaf or non-leaf which matches, that is something that I don't see an obvious way to do. |
Beta Was this translation helpful? Give feedback.
-
I believe
However, it seems like that is not catering to your needs when you have parent nodes shown in the dropdown? Would you be able to spin up a codesandbox? I'm not terribly opposed to the idea but I'd like to see if we can avoid adding extra logic if possible. Thanks @gandhis1 for helping out on issues and discussion! |
Beta Was this translation helpful? Give feedback.
-
Most dropdowns that allow searching show matched nodes in bold.
Currently we don't have any class that allows to easily identify the matched nodes on search.
Describe the solution you'd like
I'd like an extra class,
is-match
or similar, in order to allow customising the css.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions