svelte-material-ui
svelte-material-ui copied to clipboard
Tooltips show up with quick taps with touch input, should require holding.
Describe the bug
Tooltips always show up when using touch input, regardless of how fast the user taps the button/wrapper element.
They also stay visible until a user taps outside the wrapper element.
To Reproduce Steps to reproduce the behavior:
- Go to https://svelte.dev/repl/a702519cbe22461db21462d937dcd54d?version=3.38.2
- On a mobile device, or using your browser's dev tools to enable touch input, tap the button without holding
- The tooltip will appear regardless of how quickly you tap.
- The tooltip will also stay visible until you tap somewhere else in the page, instead of fading out once you stop holding.
Expected behavior
The usual convention for touch input is that tooltips only appear after tap and hold. They should then disappear once the user stops holding.
Desktop (please complete the following information):
- OS: Ubuntu 21.04
- Browser Firefox 88.0.1
Smartphone (please complete the following information):
- Device: Samsung Galaxy S10e
- OS: Android 11
- Browser: Firefox Focus 8.15.3 / Firefox 88.1.4 / Chrome 99.0.4430.210
this also happens with normal input, when you just click a button with a tooltip, it tooltip shows, even though it shouldn't