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

check if the ancestor has [mousetrap] classname #423

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CraigZeng
Copy link

@CraigZeng CraigZeng commented Jun 4, 2018

check if the classname 'mousetrap' exists in the ancestor's node

check if the target node's parents have 'mousetrap' class
fixed the target's parent has 'mousetrap'
@CraigZeng CraigZeng changed the title check if the parent has [mousetrap] classname check if the ancestor has [mousetrap] classname Jun 4, 2018
@CraigZeng
Copy link
Author

When i set [mousetrap] classname in the target react node, the real target may still not has class mousetrap

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.

None yet

1 participant