-
Notifications
You must be signed in to change notification settings - Fork 338
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
Vertically centered modals don't work #309
Comments
Live example is working: https://preline.co/docs/modal.html#vertically-centered ![]() |
Yes, as I said (with other words), the live example is working. But if you try to copy/paste the given HTML code, you will notice that modals don't work. To make them work, you have to add the Live example code :Given code :As you can see, the class is missing and I think that's the reason why vertically centered modals don't work when you copy HTML code. |
Noted, will be updated in upcoming v2.1 update soon - thanks for sharing the details! |
I'm trying to use vertically centered modals but they don't work.
I've noticed that the
pointer-events-auto
class is missing from the third div of each modal. Live example is working, so I think it's a simple oversight.I don't know if the problem is here, but when I add this class, the modals work correctly.
Note : I tried to illustrate the problem with a CodePen but I didn't make it (maybe some Tailwind configuration issues).
The text was updated successfully, but these errors were encountered: