Skip to content

Conversation

@oliviertassinari
Copy link
Member

Fix #1174.

@oliviertassinari
Copy link
Member Author

@hai-cea Fix. This is much better! This also prevent expensive and useless render on touch event when the dropdownmenu is closed. (I can see the difference on cordova)

@oliviertassinari oliviertassinari changed the title [DropDownMenu] not trigger event when clicking away [DropDownMenu] not trigger event on the page when clicking away Jul 16, 2015
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oliviertassinari Very nice solution! Just have a small naming change on this line. For event handling I usually use: _handleOverlayTouchTap.

Sorry for the extra commit, done from my phone.
@oliviertassinari
Copy link
Member Author

@hai-cea okey

hai-cea added a commit that referenced this pull request Jul 17, 2015
[DropDownMenu] not trigger event on the page when clicking away
@hai-cea hai-cea merged commit 71122e4 into mui:master Jul 17, 2015
@hai-cea
Copy link
Member

hai-cea commented Jul 17, 2015

Thanks @oliviertassinari 👍

@oliviertassinari oliviertassinari deleted the DropDownMenu branch August 14, 2015 08:33
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
* Fix persian examples

* Remove injected css after front-end mount

* Determine and apply styles for current orientation

* Add tests

* Support landscape for TimePicker

* Use isomorphic effect for event handler

* Fix lint errors

* Add new props to the documentation

* Fix displaying short weekdays in datepicker toolbar
@zannager zannager added the scope: menu Changes related to the menu. label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: menu Changes related to the menu.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DropdownMenu] not trigger event on the page when clicking away

3 participants