Steps to reproduce
- Prerequisite: Ensure that mobile Quick Action is set to something (Options > Toolbar > Configure mobile Quick Action)
- Open any note
- Swipe down a small amount
Did you follow the troubleshooting guide? [Y/N]
Yes. Reproduced on latest mobile app with all plugins disabled (Restricted Mode ON).
Expected result
Quick Action should not activate until UI indicator is highlighted and tactile feedback triggered.
Actual result
Quick Action is activated if you lift your finger with any amount of the UI indicator visible.
Environment
SYSTEM INFO:
Operating system: ios 17.5.1 (Apple iPhone12,3)
Obsidian version: 1.6.7 (149)
API version: v1.6.7
Login status: logged in
Catalyst license: none
Live preview: on
Base theme: adapt to system
Community theme: Minimal v7.7.9
Snippets enabled: 0
Restricted mode: on
Additional information
When configured, swiping down activates a configurable Quick Action. As you swipe down, a pill appears at the top of the screen indicating the command that will be run. Once you reach a certain threshold, the pill highlights and triggers some small tactile feedback to indicate that lifting your finger will run the command.
I have found that this Quick Action is extremely quick to activate (it’s a too-quick action!). One cause is that it will activate if the UI pill is visible at all, even if you have not met the threshold for the UI indicators. This results in accidental activation, especially when “flicking” to the top of a note, as an extremely small finger movement is enough to trigger the start of the UI indicator.
Screenshot showing fully-highlighted UI indicator. This should trigger the Quick Action if your finger is released:
Screenshot showing a partially-visible UI indicator. Note that it is still behind system UI elements at the top. This should not trigger the Quick Action, but it does:
One final note
While fixing this bug will somewhat relieve the issue of accidental activation, I still think the Quick Action will be too easy to activate accidentally when scrolling up.
The common user behavior for scrolling up on a touch device is to make a series of “quick flicks” until you reach the top of the page. If any of these quick-flicks occur once you’ve reached the top, even if the UI is still animating (bounce when you reach the top), the Quick Action will activate.
I have a couple ideas for how this might be addressed:
- Lengthen the threshold for activation such that a very small flick down isn’t enough to trigger Quick Action. Note that this solution requires this bug report to be addressed, as it currently activates early, before the UI threshold is reached.
- Add a small delay after a scrolling movement before Quick Action can be activated.
I’d be happy to make these suggestions as a feature request if that would be more appropriate or helpful, but I thought I would mention it here in case fixing this bug could be a double-whammy and address this as well.