Replies: 6 comments 1 reply
-
I have the same problem as well, I noticed that the input element gets unfocused. |
Beta Was this translation helpful? Give feedback.
0 replies
-
same problem here as well - we are unable to click text inputs |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can fix the problem by modifying the code as follows.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Any updates on this? The fix is not even live and not on Vue either |
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
-
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