You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Right now, panel that isn't visible still appears as block-display element in DOM. This results in several problems:
Desktop Chrome. It's possible to switch to a link/input on hidden panel with TAB. This results in panel section being shown but panel content hidden. Would be better if panel elements were not selectable with TAB when panel isn't open
Mobile Safari (iOS 4.33, iOS 6) sometimes displays panel section without content when page is loaded in portrait orientation.
Both issues can be fixed by adding 'display: none' style to panel and showing it right before opening.
I'll try to provide test pages by tomorrow.
The text was updated successfully, but these errors were encountered:
Using display: none; for the panel has downsides. One of them is that we want to know the height of the panel contents before opening the panel, e.g. to check if we need to unfix fixed panels. With display: none; we can't do that. Anyway, I will look into the issues you reported.
I fixed the first issue by setting visibility: hidden; for the closed panel.
About the second issue, I haven't been able to reproduce this. Can you test again with latest code and provide a test page that illustrates the problem. Also, what iDevices did you test on and does "sometimes" mean random?
See the contributing guidelines for our JS Bin test page template. Thanks!
Right now, panel that isn't visible still appears as block-display element in DOM. This results in several problems:
Both issues can be fixed by adding 'display: none' style to panel and showing it right before opening.
I'll try to provide test pages by tomorrow.
The text was updated successfully, but these errors were encountered: