PhillipS
2008-Jun-12 19:59 UTC
Draggables from an overflow:auto div in ie7 are stuck :: Scriptaculous / Prototype ::
After applying this fix for IE (which seems to be absolutely necessary for draggables when ghosting=true): http://dev.rubyonrails.org/attachment/ticket/10207/dragdrop_originallyabsolute.diff In ie7 and lower, when the containing div (with overflow:auto;) for draggables is scrolled, the draggable elements appear stuck -- as if their position is fixed to the containing div. Here is the HTML to reproduce the bug in IE: http://pastie.org/213948 I am using Scriptaculous 1.8.1 and Prototype 1.6.0.1 I have also posted this as a bug here: http://prototype.lighthouseapp.com/projects/8887/tickets/10-draggables-from-an-overflow-auto-div-in-ie7-are-stuck Many thanks, and any help is much appreciated Phillip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
blechler
2008-Jun-12 21:07 UTC
Re: Draggables from an overflow:auto div in ie7 are stuck :: Scriptaculous / Prototype ::
Try using DragDropExtra from http://scripteka.com/. I''m using it with some level of success. I''m interested to know if you run into the same problems with it that I am experiencing. This whold drag & drop from within an element with any sort of overflow seems to be the bane of this library. Nevertheless I still like it. It''s kinda like a hot chick with stinky farts. Can you get past that? On Jun 12, 3:59 pm, PhillipS <pSauerb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> After applying this fix for IE (which seems to be absolutely necessary > for draggables when ghosting=true):http://dev.rubyonrails.org/attachment/ticket/10207/dragdrop_originall... > > In ie7 and lower, when the containing div (with overflow:auto;) for > draggables is scrolled, the draggable elements appear stuck -- as if > their position is fixed to the containing div. > > Here is the HTML to reproduce the bug in IE:http://pastie.org/213948 > > I am using Scriptaculous 1.8.1 and Prototype 1.6.0.1 > I have also posted this as a bug here:http://prototype.lighthouseapp.com/projects/8887/tickets/10-draggable... > > Many thanks, and any help is much appreciated > > Phillip--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
PhillipS
2008-Jun-13 17:26 UTC
Re: Draggables from an overflow:auto div in ie7 are stuck :: Scriptaculous / Prototype ::
I applied the patch you mentioned: http://scripteka.com/script/dragdropextra Thanks, it seems to be a good fix although it is/becomes buggy... for instance, it will change the dimensions of the draggable, or only drag the text, or (in ie6 & ie7) the draggable will be offset from where it is initially selected when dragging it a second time. To fix the dimension changing issue, I declared in the CSS that the height and width were !important. You can see these issues and functionality in this test case: http://pastie.org/214559 Try removing the !important declarations in .draggable to see the dimension changing issues. To fix the issue of the draggable being offset from the cursor on the second drag in IE, I have no idea. But i think it''s is a minor issue in comparison to the original bug. Any thoughts? On Jun 12, 5:07 pm, blechler <lech...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try using DragDropExtra fromhttp://scripteka.com/. > > I''m using it with some level of success. I''m interested to know if > you run into the same problems with it that I am experiencing. > > This whold drag & drop from within an element with any sort of > overflow seems to be the bane of this library. Nevertheless I still > like it. > > It''s kinda like a hot chick with stinky farts. Can you get past that? > > On Jun 12, 3:59 pm, PhillipS <pSauerb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > After applying this fix for IE (which seems to be absolutely necessary > > for draggables when ghosting=true):http://dev.rubyonrails.org/attachment/ticket/10207/dragdrop_originall... > > > In ie7 and lower, when the containing div (with overflow:auto;) for > > draggables is scrolled, the draggable elements appear stuck -- as if > > their position is fixed to the containing div. > > > Here is the HTML to reproduce the bug in IE:http://pastie.org/213948 > > > I am using Scriptaculous 1.8.1 and Prototype 1.6.0.1 > > I have also posted this as a bug here:http://prototype.lighthouseapp.com/projects/8887/tickets/10-draggable... > > > Many thanks, and any help is much appreciated > > > Phillip--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
blechler
2008-Jun-13 20:03 UTC
Re: Draggables from an overflow:auto div in ie7 are stuck :: Scriptaculous / Prototype ::
Yeah, I got that second drag bug too. I have notified the developer about that, and he will be working on it within the next week or so is my guess. On Jun 13, 1:26 pm, PhillipS <pSauerb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I applied the patch you mentioned:http://scripteka.com/script/dragdropextra > > Thanks, it seems to be a good fix although it is/becomes buggy... for > instance, it will change the dimensions of the draggable, or only drag > the text, or (in ie6 & ie7) the draggable will be offset from where it > is initially selected when dragging it a second time. To fix the > dimension changing issue, I declared in the CSS that the height and > width were !important. You can see these issues and functionality in > this test case:http://pastie.org/214559Try removing the !important > declarations in .draggable to see the dimension changing issues. > > To fix the issue of the draggable being offset from the cursor on the > second drag in IE, I have no idea. But i think it''s is a minor issue > in comparison to the original bug. Any thoughts? > > On Jun 12, 5:07 pm, blechler <lech...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Try using DragDropExtra fromhttp://scripteka.com/. > > > I''m using it with some level of success. I''m interested to know if > > you run into the same problems with it that I am experiencing. > > > This whold drag & drop from within an element with any sort of > > overflow seems to be the bane of this library. Nevertheless I still > > like it. > > > It''s kinda like a hot chick with stinky farts. Can you get past that? > > > On Jun 12, 3:59 pm, PhillipS <pSauerb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > After applying this fix for IE (which seems to be absolutely necessary > > > for draggables when ghosting=true):http://dev.rubyonrails.org/attachment/ticket/10207/dragdrop_originall... > > > > In ie7 and lower, when the containing div (with overflow:auto;) for > > > draggables is scrolled, the draggable elements appear stuck -- as if > > > their position is fixed to the containing div. > > > > Here is the HTML to reproduce the bug in IE:http://pastie.org/213948 > > > > I am using Scriptaculous 1.8.1 and Prototype 1.6.0.1 > > > I have also posted this as a bug here:http://prototype.lighthouseapp.com/projects/8887/tickets/10-draggable... > > > > Many thanks, and any help is much appreciated > > > > Phillip--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---