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 mousemove and mousedown event not ending #690

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

z2015
Copy link
Contributor

@z2015 z2015 commented Mar 11, 2020

when react-color compoent render in parent iframe page, mousemove and mousedown event not ending, this cause the the color value always too bee #ffffff;, the workaround is not use window by default , but read window.parent and document.contains method to decide the right window object.

compoent render in parent iframe page
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.

2 participants