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

[Popover] Remove window-listenable mixin #3308

Merged
merged 1 commit into from
Feb 12, 2016

Conversation

newoga
Copy link
Contributor

@newoga newoga commented Feb 12, 2016

No description provided.

useLayerForClickAway={this.props.useLayerForClickAway}
render={this.renderLayer}
/>
<noscript>
Copy link
Contributor Author

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.

Copy link
Member

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 👍

@alitaheri
Copy link
Member

Good good to me 👍

@oliviertassinari
Copy link
Member

Could you remove this too?

   windowListeners: {
     resize: 'setPlacementThrottled',
     scroll: 'setPlacementThrottledScrolled',
   },

@oliviertassinari oliviertassinari added PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI and removed PR: Needs Review labels Feb 12, 2016
@newoga
Copy link
Contributor Author

newoga commented Feb 12, 2016

Thanks good catch, I thought I did.

@newoga
Copy link
Contributor Author

newoga commented Feb 12, 2016

Done!

@newoga newoga added PR: Needs Review and removed PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Feb 12, 2016
oliviertassinari added a commit that referenced this pull request Feb 12, 2016
[Popover] Remove window-listenable mixin
@oliviertassinari oliviertassinari merged commit d4472ee into mui:master Feb 12, 2016
@oliviertassinari
Copy link
Member

@newoga Thanks 👍.

@newoga newoga deleted the #3305/popover branch February 13, 2016 17:09
@zannager zannager added the component: Popover The React component. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Popover The React component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants