-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hierarchies-react]: Add ability to disable filter button render on hover #815
Comments
Perhaps we could allow user to choose to disable button-based filtering, leave it on hover or allow display of all filter buttons? |
By "user" you mean "consumer", right? Also, just to confirm, are you suggesting that we provide 3 options: "no filtering buttons", "show filtering buttons on hover", "always show filtering buttons"? |
Yes and yes. |
I can't think of a reason anyone would want to see those buttons all the time. But I guess to future-proof ourselves we could use a string union prop rather than a boolean for this. Initially that could be |
I guess in touch devices you could want to show button always. |
Maybe... Let's not overthink this for now and instead wait for iTwinUI v5 and their recommendations. |
There might be use cases where hierarchy level limit is reached rarely and in those cases showing filter button on hover might by undesirable. For those cases we should add a simple way to disable filter button render on hover.
It would still be possible to apply filter through info node if hierarchy level limit is exceeded. If filter is applied
Clear
andFilter
should be rendered regardless.The text was updated successfully, but these errors were encountered: