Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Fix: rank widget on touch devices #947

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

eyelidlessness
Copy link
Contributor

@eyelidlessness eyelidlessness commented Feb 1, 2023

Fixes enketo/enketo-express#511

Verified on Moto G5 Chrome 109.0.5414.117

Not strictly necessary, but I also restricted touch dragging to the visible handle area (with some padding). I did this because testing on my own phone (iPhone, which turned out to reproduce the bug as well), I found it quite difficult to scroll anywhere near a rank question, and there's already a visible appearance of a handle on the side. Along with this change, I removed the "hover" effect on the full width rank options, because it no longer corresponds to the actionable area and could be confusing.

Happy to discuss those changes or make them separate, but I do think it would be a worse UX.

@eyelidlessness eyelidlessness marked this pull request as ready for review February 1, 2023 22:04
@eyelidlessness eyelidlessness merged commit fafb623 into enketo:master Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rank widget does not work in the Android mobile device
2 participants