-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Popover] Remove window-listenable mixin #3308
Conversation
useLayerForClickAway={this.props.useLayerForClickAway} | ||
render={this.renderLayer} | ||
/> | ||
<noscript> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know what you think about this, the children component both return null, I wasn't sure what the right tag was to use for something that ultimately wasn't rendering anything. I settled for noscript (which is what I think React uses when you return null) but if you'd prefer div or something else let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no div
. I think is good 👍
Good good to me 👍 |
Could you remove this too? windowListeners: {
resize: 'setPlacementThrottled',
scroll: 'setPlacementThrottledScrolled',
}, |
Thanks good catch, I thought I did. |
Done! |
e0a2c7c
to
a32da08
Compare
[Popover] Remove window-listenable mixin
@newoga Thanks 👍. |
No description provided.