material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Discuss OnTouchTap Dependency

Open smcguinness opened this issue 10 years ago • 5 comments

I just ran across this comment, https://github.com/facebook/react/issues/6221#issuecomment-204486835, regarding changes to mobile Chrome & Safari about removing tap delay. Should the requirement go away or should it still wait for React 1.0?

smcguinness avatar Nov 08 '16 15:11 smcguinness

We have removed the onTouchTap dependency on the next branch as mobile browser support has quite improved. I think that we can close this issue.

oliviertassinari avatar Nov 08 '16 21:11 oliviertassinari

Could this explain: https://github.com/callemall/material-ui/issues/5527 ? At least at the iOS side that they removed the delay, thus creating an issue with the now unneeded onTouchTap?

BlockChange avatar Nov 09 '16 14:11 BlockChange

@BlockChange I couldn't reproduce your issue on my iOS simulator using the docs site. I'm closing this issue.

oliviertassinari avatar Nov 09 '16 20:11 oliviertassinari

@oliviertassinari this happens for me using mui 16.4, react 15.4.0 on iphone 7+ ios 10 chrome 54.

KaboomFox avatar Dec 07 '16 22:12 KaboomFox

I unfortunately have to use onTouchTap because my appBar uses two different left icons and the appBar component checks for onTouchTap as a prop.

KaboomFox avatar Dec 07 '16 22:12 KaboomFox