You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use both bindHover and bindFocus on an input, they conflict: bindHover makes the popup close on blur, when the focus is still on the input.
A workaround could be to add a bindHoverOrFocus function.
But it might be better (if at all possible) to store the states hovered and focused somewhere in the hook and not close the popup if if one becomes false when the other is still true.
What do you think?
The text was updated successfully, but these errors were encountered:
When I use both
bindHover
andbindFocus
on an input, they conflict:bindHover
makes the popup close on blur, when the focus is still on the input.A workaround could be to add a
bindHoverOrFocus
function.But it might be better (if at all possible) to store the states
hovered
andfocused
somewhere in the hook and not close the popup if if one becomes false when the other is still true.What do you think?
The text was updated successfully, but these errors were encountered: