You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug seems to be a resurfacing of #1804; on mobile, when a dropdown would appear directly over where the user tapped to spawn the dropdown, a selection will be made immediately.
To Reproduce
(note: I did the following steps using this official sample, although I have a local repro too that I can provide if that's insufficient)
Do all of this either from a real mobile device or from Chrome's device emulation (DevTools → Toggle device toolbar)
Create 12 variables with any names (just so that they'll populate the dropdown menu)
Add a "set variable to" block to the canvas
Try opening the dropdown for that block
At this point, the dropdown will open and immediately choose the value underneath your finger/mouse.
Expected behavior
The dropdown stays open so that you can choose an option.
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: 79.0.3945.88
Smartphone (please complete the following information):
Device: Google Pixel XL
OS: Android 10
Browser: Chrome
Version: 79.0.3945.93
Additional context
We investigated, and the problem is that the dropdown menu is already drawn by the time the event is handled. We wrote a hack to work around this behavior by modifying Blockly directly to stop propagating the event:
Describe the bug
This bug seems to be a resurfacing of #1804; on mobile, when a dropdown would appear directly over where the user tapped to spawn the dropdown, a selection will be made immediately.
To Reproduce
(note: I did the following steps using this official sample, although I have a local repro too that I can provide if that's insufficient)
At this point, the dropdown will open and immediately choose the value underneath your finger/mouse.
Expected behavior
The dropdown stays open so that you can choose an option.
Screenshots
I have a video of myself reproing this: https://clips.twitch.tv/CheerfulCleverKleeOSfrog
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
We investigated, and the problem is that the dropdown menu is already drawn by the time the event is handled. We wrote a hack to work around this behavior by modifying Blockly directly to stop propagating the event:
The text was updated successfully, but these errors were encountered: