-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
SpeedDialAction onClick broken for some touch screen devices #12646
Comments
Code-wise, I have tried both
and
The results are the same - normal screens work, touch screens do not (even if using the mouse to click it) |
verified that it works just fine on a non-touchscreen chromebook. |
Was about to raise this issue, but found this one. onClick is not working. I have OnePlus One with Chrome v68.0.3440.91 and Android is 8.1.0, it does not work there. I have another device which Mi A1, same case; and same is happening on Samsung Tab 3 8 inch. Although, on my desktop, it is working as expected. My dependencies
|
If anybody here can spend some minutes guiding me how this can be fixed then I am ready to involve myself in doing this, but I need some guidance at first. |
see that other issue - looks like a timing thing on Android that a blur is firing before click is, and since the button is blurred, it isn't catching the click handler anymore. I'll look again at the history of that file to see what might have caused it to break when the tooltip stuff was changed. |
This has only gotten worse with -alpha.16. Now even on normal desktops the actions don't respond (unless i'm missing some incompatible API change), and on mobile it is triggering the event under the button which happens to be my slider for the song currentTime. For now I'm going to just try to come up with a totally different design to manage those 5 actions I need. |
updated the link to the app that replicates the issues as originally described, as i have had to move on with an alternate way to restore those features. |
Hi is there an update on this , maybe an alternate way to do this on phone |
Can you tell us what was the alternate in fixing this |
A total screen redesign that avoided that control entirely. No help if you're really attached to it. |
Thanks , but i just found found that the onmousedown was working on a touch screen , dirtily used that with the istouch to fix my code. |
My first experiments with onmousedown didn't work but that was back in -11 when I first saw the problem. maybe something changed, but I've been working on the 'TV' version of my app instead for the last few. |
Has anyone seen newer Macbooks experiencing this issue in Chrome due to the Touchbar? |
On touch screen devices (a Chromebook, and an Android 8 phone running Chrome Dev), onClick handlers are not working on SpeedDialAction. I see a change in focus (briefly) and the ClickAwayHandler seems to kick in to hide the SDAs, but the action itself never fires (nor is there a ripple effect).
This was working on MUI 1.4.x. It broke with 1.5.x (and labs 10 and 11).
Expected Behavior
On non-touch boxes (Mac, Windows), these buttons work. you can see the ripple effect and the action happens. This includes Chromebooks that do not have touchscreen support (a Hisense 11).
On touch-screen boxes, I expect the same. They worked in 1.4.x.
Current Behavior
On touch-screen devices, I have tried Chromebook and Android 8 - Chrome and (where possible) Firefox, the SpeedDialActions do not work. As described above, I see the focus happen, but the neither the ripple nor the actual action are triggered. It does not matter if the button was touched on the screen, clicked by a touchpad, or clicked by a mouse.
Steps to Reproduce
On Android, use Chrome or Firefox browser if you can - the player is broken using Samsung's built-in.
Context
These buttons were working prior to the 1.5.x layout and tooltip changes. I use them for secondary features that are now unavailable in my player.
Your Environment
Since Firefox also has the problem on Android, I believe this to be an MUI issue and not a Chrome issue. All other buttons on the screen are working correctly.
The text was updated successfully, but these errors were encountered: