If I drag a small element ie 20pxwidth / 20pxheight over an iframe quickly, the element appears stuck within the iframe for both FF and IE, until I move out of the iframe. If I move the mouse slowly over the iframe I have no problems. Does any one know if there is a fix for this problem? The only solution I could think to fix this: 1. put a layer positioned absolute over the iframe. 2. or increase the width and height to 200px and center the pointer/ cursor to draggable element. I know I could just put requested content into a div instead of using an iframe, but I need an iframe for this method. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Gregory
2007-Jun-20 14:15 UTC
Re: Dragging small element over iframe - screen refresh bug
This has been on this list a several times. The drag/drop behavior doesn''t work across iframes because mouse events don''t bubble up through an iframe. This is why you''re seeing a "dead zone". I''m surprised it works at all when you move slowly. IIRC, there are a couple of suggestions (which sound like a pain to implement) in the archives. It''s an even bigger problem if you intend to put your droppables in the iframe. TAG On Jun 20, 2007, at 3:06 AM, SlashEMc2k wrote:> > If I drag a small element ie 20pxwidth / 20pxheight over an iframe > quickly, the element appears stuck within the iframe for both FF and > IE, until I move out of the iframe. > > If I move the mouse slowly over the iframe I have no problems. > Does any one know if there is a fix for this problem? > > The only solution I could think to fix this: > 1. put a layer positioned absolute over the iframe. > 2. or increase the width and height to 200px and center the pointer/ > cursor to draggable element. > > I know I could just put requested content into a div instead of using > an iframe, but I need an iframe for this method. > > > Thanks > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---