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.
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.
Panel: Visibility hidden for closed panels. Fixes #5652.
This prevents focus on links in closed panels when using the tab key.
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!
Weren't able to reproduce empty panel in Safari for last few weeks. I suspect it was side effect of some issue closed before 1.3 release.