External panel won't open anymore after several page switches #7099
Comments
@arschmitz Perhaps it's time we landed #7001 - maybe that'll fix this. |
OTOH, this is FF, where I've never seen transition-end events not firing. |
Reproduced with FF 27 on Fedora 20. |
Here's the root cause:
The problem with this is that, in FF, it ends up setting the |
The solution: If no parent page has been found during |
Wow, thanks for your blazingly fast reaction and the fix! I'm looking forward to seeing this land in the next version (hopefully). :-) |
Hi,
I have a problem with panels sometimes not opening.
In the code below I have two pages and a panel containing a list outside of those pages. The panel gets opened by a button in the header toolbars of the pages and the list items in the panel lead to the pages.
When I try this in Firefox (26, Win7) and just keep switching between the pages by opening the menu and selecting the other page, it sometimes gets stuck: the menu button in the toolbar looks active (blue background) but the panel doesn't open anymore. From then on I can click it as often as I want but nothing happens.
This only happens very rarely in this minimal example setup but quite often in my actual page. Maybe it depends on the amount of stuff that's on the pages. It also doesn't seem to happen when I remove the data-transition="slideup". And I haven't seen it happen in IE11 yet.
In my own code I also have some JavaScript copied from the demo pages that is supposed to open the panel on swiping. Even that doesn't work anymore when the panel got stuck like this, so programmatic opening doesn't seem to make a difference. There's nothing in the browser's console either.
I assume it's something to do with the transition animation. Maybe it hasn't finished properly when I click on the menu button, leading it into a broken state.
Any help would be welcome. Thanks!
The text was updated successfully, but these errors were encountered: