If I click on a link that opens a Mediabox modal and then dismiss it, none of the Gantry dropdown menus work. Clicking them does nothing. Have to refresh the page to get them working again. Tested in both Chrome and Firefox. Does not affect hover dropdown, only click. Javascript problem? Is there a workaround?
You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
Support is currently Offline
09:00 - 17:00 Europe/London (BST)
Please create a new Ticket and we will get back to you as soon as we can.
#117576 Gantry Menu Items Not Clickable After Closing Mediabox Modal
This is a public ticket
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Latest post by Ryan on Monday, 23 February 2026 19:04 GMT
Tuesday, 17 February 2026 19:43 GMT
Wednesday, 18 February 2026 10:00 GMT
Please post a link to an example on your site.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Wednesday, 18 February 2026 13:50 GMT
Go to https://fairfaxprism.org/jce-test and click the link at the top of the page. Then dismiss the modal. Then try to click on one of the menu items.
Make sure to try more than once. Sometimes it works properly.
Thursday, 19 February 2026 19:00 GMT
For a quick test, please set the Swipe option in the MediaBox parameters to No, then relaod the page and try the MediaBox and menu items again.
Any change?
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Thursday, 19 February 2026 22:38 GMT
That made no difference. HOWEVER, I did discover a new symptom. If I click the link that opens the modal, dismiss it, then click a menu item, it won't work. But if I click the link to open the modal and dismiss it again, then the menu items work when clicked. Weird, huh?
Friday, 20 February 2026 11:29 GMT
From testing and debugging, this doesn’t appear to be caused by JCE MediaBox itself. The click on the Gantry menu is reaching the menu correctly, but the Gantry menu script is cancelling the action after the Mediabox is closed.
It looks like Gantry is treating the click after closing the popup as if it were part of its own page interaction handling, and as a result the first menu click is ignored.
Could you please check that you are running the latest version of the Gantry framework?
If possible, you could also try temporarily disabling MediaBox just to confirm the behaviour changes, this helps narrow it down further.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Friday, 20 February 2026 20:17 GMT
There is no newer version of Gantry, so I am definitely running the latest version. You don't think it's odd that opening the modal and dismissing it a second time clears the issue? The only recourse it would seem is to use hover rather than click for the Gantry menus, assuming we want to continue using Mediabox.
Bruce
Saturday, 21 February 2026 12:24 GMT
You don't think it's odd that opening the modal and dismissing it a second time clears the issue?
What it suggests is that Gantry’s menu script is ending up in an “in-between” state after the first Mediabox interaction. When the Mediabox is opened and closed again, that state gets reset, which is why the menu starts working normally again.
From debugging, the click event itself is not being blocked by MediaBox. The Gantry menu script is receiving the click and then cancelling it internally. The first open/close sequence appears to leave Gantry’s menu logic thinking it shouldn’t react to the next click. The second open/close clears that condition.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Sunday, 22 February 2026 15:49 GMT
So, do you think this is a Gantry javascript issue? If so, any suggestions on where to look for a place to resolve it?
Thanks so far, Ryan. Your help is always appreciated.
Bruce
Monday, 23 February 2026 19:04 GMT
Please try JCE MediaBox 2.2.4 Beta - https://www.joomlacontenteditor.net/downloads/mediabox/development
Clear you browser cache after install.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Please wait
Your post is being submitted…
