-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(At least) Drag and Drop "Drop Based Coding" broken #1492
Comments
It's still broken in exactly the same way with 3.14.1. |
Also happens on Opera 12.16 ( |
I downloaded v3.8.0 (a year old) and tried w/ chromium ( |
The bug seems to not yet exist in v3.3.0 (three years old). There above example works. I downloaded the oldish YUI and renamed Just fav'd a tweet today saying
|
I would love to do a git bisection on this, but I haven't ever built a yui locally. For the unit test... I can only think of a UI test, but the last time I checked selenium webdriver (a year ago?) their dragging and dropping also was broken. Sigh. |
Oh man, just saw your Selleck testing methodology. YUI is so full of awesomeness. @davglass, you're missed. |
well d'uh of course the largish merge wasn't the problem. It's d93edc5 ("Fixes scrollig issues in Safari 6 for DD (a workaround, node issue to be filed after") |
Well or isn't it. I reverted d93edc5 and rebuilt dd using shifter, but the problem persists. Too tired today, will try my luck some other time. |
Both parents work, but the child doesn't work with either parent version of |
1a55a78 with |
d'uh |
(I still like dynamic languages.) |
Maybe Y.Array.each should throw an Exception if it's not fed an array? Or is the check too expensive? |
At ~ 3.7.3 a regression was introduced by 1a55a78 that broke "Drop Based Coding" by using Array.each() for otherDrops which is an Object Literal.
Include @okuryu's suggestions. Thanks!
#1573 has been merged. |
While trying to find out why my application would never run any
drag:drophit
event handlers, I found that the current (3.14.0) "Using Drop Based Coding" example would also not run correctly on any browsers here - thedrop:hit
handler is never executed.This is on Linux (gentoo) x86_64, with all of:
Using a traditional mouse as the input device (no touch capability).
The same happens with Safari 7.0 (9537.71) on MacOS X 10.9.
All show exactly the same behavior, reaction to dropping in the target area is exactly the same as dropping outside the target area - i.e. the drag node snaps back to its original position, the drop target loses its hover color (orange back to blue) and nothing else happens (as I understand it, the drop target should show data about the dragged element).
In contrast, the "Drag - Interaction Groups" example works correctly here; although in my own code loosely based on that example the handler for
drag:drophit
does not execute either.The text was updated successfully, but these errors were encountered: