-
Notifications
You must be signed in to change notification settings - Fork 68
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
Fix dataTransfer RTE take 2 #220
Fix dataTransfer RTE take 2 #220
Conversation
4a79540
to
262552b
Compare
|
||
// Handle dt being either a native DOM DataTransfer object or a JS object that looks like it (events.NonNativeDataTransfer). | ||
// Casting a JS object to DataTransfer fails intermittently in dart2js, and vice-versa fails intermittently in either DDC or dart2js. | ||
// TODO figure out when NonNativeDataTransfer is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cut a ticket for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
dropEffect = 'none'; | ||
} | ||
// Copy these lists and ensure they're typed properly. | ||
// todo use .cast() in Dart 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// todo use .cast() in Dart 2 | |
// TODO use .cast() in Dart 2 |
Work around issue in #154 that necessitated revert of #151