Replies: 6 comments 2 replies
-
I have the same problem as well, I noticed that the input element gets unfocused. |
Beta Was this translation helpful? Give feedback.
-
same problem here as well - we are unable to click text inputs |
Beta Was this translation helpful? Give feedback.
-
Upvoted |
Beta Was this translation helpful? Give feedback.
-
You can fix the problem by modifying the code as follows.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Any updates on this? The fix is not even live and not on Vue either |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v1.7.10
What browser are you using?
Chrome
Describe your issue
I use your modal component. There is a button in this modal component. After clicking it, a new modal will be displayed. If the modal contains an input box, you cannot directly click the input box to get the focus.
Steps:
If I click the blank space of the Demo2Modal first, and then click the input box, I can get the focus.
I guess this problem should be related to the focus of the website.
Codes 👇🏻
Beta Was this translation helpful? Give feedback.
All reactions