Skip to content

Conversation

@pomerantsev
Copy link
Contributor

The dialog actions could not react to the onTouchTap event.
This commit makes it possible.
It's also still possible to pass onClick.
If neither onClick nor onTouchTap is present on an action, then
the dialog is dismissed on touchTap.

The dialog actions could not react to the onTouchTap event.
This commit makes it possible.
It's also still possible to pass onClick.
If neither onClick nor onTouchTap is present on an action, then
the dialog is dismissed on touchTap.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if we still need to document onClick here - passing onTouchTap always sounds like a better idea to me.

hai-cea added a commit that referenced this pull request Jun 5, 2015
Make it possible to pass an onTouchTap handler to a dialog action
@hai-cea hai-cea merged commit fef87a7 into mui:master Jun 5, 2015
@hai-cea
Copy link
Member

hai-cea commented Jun 5, 2015

Thanks @pomerantsev 👍

mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
Export Calendar and Day components for custom date pickers
@zannager zannager added the scope: dialog Changes related to the dialog. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: dialog Changes related to the dialog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants