Control.Window obstructs page on resize
Reported by Ryan Johnson | June 13th, 2008 @ 10:41 AM | in 1.0
The iframe shim, or some other element appears to obstruct the entire page (from clicking on links, not visually) once the window is resized.
Confirmed in IE, safari and firefox.
Comments and changes to this ticket
-
Ryan Johnson June 13th, 2008 @ 10:42 AM
- State changed from new to confirmed
-
Ryan Johnson June 13th, 2008 @ 11:26 AM
Hey Ryan,
I've been integrating the new window.js stuff, and so far it's been a
cinch. I appreciate you hooking me up a little earlier than everyone
else :)
So, one thing I've noticed, and I don't know if it's Control.Window
specifically, but I suspect that it is. I can reproduce this bug on
your site as well (livepipe.net)... Here's what happens:
Browsers Tested: Firefox 2 & 3, Safari
When window is resized, all links on the page stop working, no js errors thrown.
That's it really. I've taken a look at all your observers, and
nothing jumped out at me immediately. I did inspect the html, and on
load I notice that there's no overlay element, but when I resize the
window, one of the iframes on the page becomes visible. I'm able to
prevent this by commenting out line 708 (
Event.observe(window,'resize',Control.Overlay.positionIFrameShim);),
but I don't know enough about what this positionIFrameShim function is
supposed to do to add the extra logic to prevent this from happening
when now windows are open.
Obviously, you don't need to tackle this right away as I've got the
work-around, but if you could let me know when you've got this fixed,
I'd appreciate it!
Thanks for your help,
Ian
-
Ryan Johnson June 19th, 2008 @ 05:44 PM
- State changed from confirmed to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/
High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.