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

Add a method to filter wrappers depending on the DOM #4353

Closed
wants to merge 1 commit into from

Conversation

arcmode
Copy link

@arcmode arcmode commented Jul 11, 2015

A minimal approach for a solution to the problems related to transaction wrappers trying to access the DOM in its absence.

Surely this requires more work including some new tests as at this point all tests are passing even when the only wrapper being filtered out is SELECTION_RESTORATION.

Is this a workable path? All suggestions are welcome.

Related to #3620 and #4019.

@sebmarkbage
Copy link
Collaborator

Nice! This is a bit of an unnecessarily generic solution to a simple problem.

Can't you just feature test inside ReactInputSelection instead? It is generally bad practice to rely on a generic feature test to determine something more specific about the environment.

@arcmode
Copy link
Author

arcmode commented Oct 16, 2015

I'm closing this PR because I no longer need this change.

Thanks for reviewing it though.

@arcmode arcmode closed this Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants