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
We currently have both bindTrigger and bindToggle which open the popup and toggle the popup, but no equivalent to bindTrigger which will always close the popup. Is there a reason for this that I'm missing? It seems if bindTrigger is necessary that bindTriggerClose (or bindClose, or whatever) are also necessary. Has any consideration been given to introducing it? Or should we just always use bindToggle?
Thank you for the fantastic project!
The text was updated successfully, but these errors were encountered:
Well, if you want an element to close the popup on click, just pass onClick={popupState.close} to it. I'm not sure if there are any relevant aria properties to pass to the element?
That wouldn't also do onTouchStart. You could definitely manually add both listeners, just thought it was likely there would be relevant aria properties too.
We currently have both bindTrigger and bindToggle which open the popup and toggle the popup, but no equivalent to bindTrigger which will always close the popup. Is there a reason for this that I'm missing? It seems if bindTrigger is necessary that bindTriggerClose (or bindClose, or whatever) are also necessary. Has any consideration been given to introducing it? Or should we just always use bindToggle?
Thank you for the fantastic project!
The text was updated successfully, but these errors were encountered: