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
AJAX Reveal modals break layout on second open #2928
Comments
I am also facing the same problem. Regarding your bonus issue - I moved |
Found the solution - just add Or If you want only for an action then add |
archit2u, can you tell a little bit more about your solution? Maybe with am example? |
Hi Martin, For e.g. there is a TestsController in your application and you want actions of that controller to render the views in foundation modals. To do that you can do the following in your TestsController:
If you only want to render the view of a particular action you can do the following:
Hope this helps. |
Hi Archit, well, i’m using foundation reveal completely different. I only have something like this:
So, there is no controller where i might set the layout property. But maybe, there is also a solution for my case? Thank you anyway, Martin |
Ok, i found the solution for our case: in the via ajax requested site was the complete header again and so foundation was initialized twice … |
I upgraded from 4.0.7 to 4.3.1 because Reveal's AJAX modal wouldn't open. Now it does open, but if you close it and then open it a second time, it won't open within the current view nor darken the page.
Static modals work fine, however.
Bonus issue: AJAX modals don't have the close icon.
The text was updated successfully, but these errors were encountered: