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
Hey, first of all thank for this amazing libaray. This is my first time of using it. I am facing the issue where react-hook-form onBlur event calling not properly. I added onBlur event on the root "ListBox" element but it didn't work as well as in nested components. onBlur event call soon as i click on the select box and thats weird.
bandicam.2024-01-22.04-29-54-022.mp4
The text was updated successfully, but these errors were encountered:
@hyphast that seems to work if you're using the mouse but not the keyboard. It seems to work better to just wrap the entire Listbox with a div that has an onBlur prop:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
^1.7.18"
What browser are you using?
Chrome
Describe your issue
Hey, first of all thank for this amazing libaray. This is my first time of using it. I am facing the issue where react-hook-form onBlur event calling not properly. I added onBlur event on the root "ListBox" element but it didn't work as well as in nested components. onBlur event call soon as i click on the select box and thats weird.
bandicam.2024-01-22.04-29-54-022.mp4
The text was updated successfully, but these errors were encountered: