-
Notifications
You must be signed in to change notification settings - Fork 869
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
Cannot test with storyshots due to findDomNode #275
Comments
+1, we met the same issue |
@justin808 @jiayuan6311 Are you using the latest version? I know the dependency for handling that got replaced, maybe it will resolve your problem. The code that is causing the problem lives in a differente repo: https://github.com/Pomax/react-onclickoutside |
@jiayuan6311 As |
@justin808 , @jiayuan6311 Would a solution similar to what @simeg found for #384 work in this situation too? |
Closing due to inactivity. |
Summary: We cannot use storyshots with react-datetime
We are using: https://github.com/storybooks/storyshots for testing.
Per this issue:
facebook/react#7371 (comment)
and per this code:
https://github.com/YouCanBookMe/react-datetime/blob/5c617dcc7f23f667761b26fb4565d5f33d44dea7/src/onClickOutside.js#L58
This fails with this obscure error:
The text was updated successfully, but these errors were encountered: