-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to write in text Input inside modal #7322
Comments
Can you post a code sample? |
Of course! This is the trigger:
This is the modal:
For example the modal opens correctly. But I am unable to use the keyboard inside the field. Even if I add a value from the html, I am unable to remove text with backspace or delete... In order to replicate try to open and close the modal a few times. The problem exists in this jsfiddle too! |
I've encountered the same issue. I noticed this only occurs when you use the data-animation attributes. |
Ok. Some more info:
I think this piece of code is responsible /js/foundation.reveal.js line 362
|
@robinsue You are correct. If I remove the animation attributes it works fine |
Hi!, To add my two cents for a solution, when a user a minified version of foundation.js, i get the following warning in the console : "component not defined!", but not with a no warning with the non minified version. |
Aye. Exactly the same problem here. I did some digging. This has to do with the background overlay. When you set |
@Owlbertz Your codepen.io version still has the problem :(. It occured to me on the 3rd time I opened it |
@lexx27 Yep, just found out that I referenced the wrong version in the pen. Sorry for that and the confusion. But as mentioned in the (now deleted) comment, this is caused by the minified version. I will dig into it later today and fix this as this has already been an issue earlier (that I believe I had already fixed...). |
@Owlbertz No problem. Thanks a ton :) |
Fixes reveal issue where animated modals would lock out of focusable elements on repeated opening/closing cycles. fixes #7322
I tested it in multiple browsers.
When I open a modal with an text input inside, I am not able to write in it. It happens randomly though.
No errors on the console.
The text was updated successfully, but these errors were encountered: