Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix #1326 Safari can't focus with draggable parent #1356

Closed
wants to merge 6 commits into
from

Conversation

Projects
None yet
4 participants
Contributor

mattkrick commented Sep 1, 2017

Summary

DraftEditors that lived inside draggable parents were useless in Safari. Now they work.
Solution found here: react-dnd/react-dnd#178 (comment)

Test Plan

Use the fiddle in #1326 with the updated version.
For a quick n dirty, just add this to the stylesheet:
div[contenteditable="true"] { user-select: text;}

@mattkrick mattkrick referenced this pull request in ParabolInc/action Sep 1, 2017

Closed

TypeError: Cannot read property 'getIn' of undefined #1317

jordanh commented Sep 1, 2017

👏 👏 👏

@jordanh jordanh referenced this pull request in ParabolInc/action Sep 2, 2017

Merged

update draft to my github branch fix #1317 #1323

mattkrick added some commits Sep 1, 2017

@flarnie flarnie self-requested a review Sep 12, 2017

Contributor

flarnie commented Sep 22, 2017

Thanks for submitting this!

The bug is easy to reproduce, and I'm still testing to verify that your change fixes it.

Awesome detective work!
happyjello
Adding this to the queue for merging~

@flarnie has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@flarnie has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@flarnie has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@flarnie has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@flarnie flarnie added this to the v0.10.4 milestone Sep 28, 2017

@flarnie has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@flarnie has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment