Skip to content
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

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

greglittlefield-wf
Copy link
Collaborator

@greglittlefield-wf greglittlefield-wf commented Oct 10, 2019

Work around issue in #154 that necessitated revert of #151

@greglittlefield-wf greglittlefield-wf force-pushed the stable-line_datatransfer-fix branch from 4a79540 to 262552b Compare October 10, 2019 17:34

// 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.
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@greglittlefield-wf greglittlefield-wf changed the base branch from master to master_stable October 10, 2019 17:55
Copy link
Collaborator

@joebingham-wk joebingham-wk left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// todo use .cast() in Dart 2
// TODO use .cast() in Dart 2

@greglittlefield-wf greglittlefield-wf merged commit cf8d523 into master_stable Oct 10, 2019
@greglittlefield-wf greglittlefield-wf mentioned this pull request Nov 8, 2019
@greglittlefield-wf greglittlefield-wf deleted the stable-line_datatransfer-fix branch November 21, 2019 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants