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

RenderToLayer: removed touchstart events, to prevent double call for … #9118

Merged
merged 1 commit into from
Dec 2, 2017

Conversation

midan888
Copy link

@midan888 midan888 commented Nov 13, 2017

onRequestClose callback listens for two events, touchstart and click.
On touch device both events actually fired, so the callback called twice, which brings errors in application, so its better to remove it rather handle double call in the application

@oliviertassinari
Copy link
Member

@midan888 I like the idea but it might broke the nested menu feature. To verify.

@midan888
Copy link
Author

@oliviertassinari had you time to test this one, does it break anything ?

@hai-cea
Copy link
Member

hai-cea commented Dec 2, 2017

@midan888 Works great for me - Thanks! 👍

@hai-cea hai-cea merged commit f10d662 into mui:master Dec 2, 2017
@midan888
Copy link
Author

midan888 commented Dec 4, 2017

@hai-cea Cool thanks!

djbuckley added a commit to manchesergit/material-ui that referenced this pull request Dec 18, 2017
* call_em_all_-_master/master:
  Add Governance Document (mui#9423)
  [docs] Add HEAD back as it's only here for the dev
  [docs] Remove HEAD in versions list (mui#9391)
  [docs] Adding smpl to showcase (mui#9386)
  Update CHANGELOG.md
  [Docs] Add v0.20.0 to versions.json
  v0.20.0
  [CHANGELOG] Prepare v0.20.0 (mui#9375)
  [docs] Update build-script & document docs publishing process (mui#9374)
  [Menu] use filtered children on setFocusIndexStartsWith (mui#9316)
  Fix Updating min and max Props on Slider (mui#9261)
  RenderToLayer: removed touchstart events, to prevent double call for callback onRequestClose (mui#9118)
  [Legacy] Removes 'TouchTap' in favor of `Click` throughout library and docs (mui#9058)
  [npm] Upgrades 'inline-style-prefixer' to 3.0.8 (mui#9320)
  [docs] Updates Home h2 text to match v1 (mui#9060)

# Conflicts:
#	src/AppBar/AppBar.js
#	src/AutoComplete/AutoComplete.js
#	src/DatePicker/DateDisplay.js
#	src/DatePicker/DatePicker.js
#	src/DatePicker/DatePickerDialog.js
#	src/Tabs/Tab.js
#	src/Tabs/Tabs.js
#	src/internal/EnhancedButton.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants