Replies: 2 comments
-
Duplicate of: #2206 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah, running into the same problem. We have an search input box that should trigger a popover. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With the Popover component its entire functionality seems focused around the Popover.Button being used. I have cases where the place I want to use the popover is under an input and it should only show based on some criteria like input value not being empty and results being present.
This functionality should be as simple as:
<Popover open={isOpen} onChange={(bool)=> setIsOpen(bool)>
But instead now we have to wire everything up manually and its messy and tedious.
With my suggestion the outside click will still close the popover and the developer can control when the popover should be open or closed - best of both.
Beta Was this translation helpful? Give feedback.
All reactions