Collection navigation triggering swiperight event on mouse click
Bug #1749308 reported by
Ghada El-Zoghbi
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Cecilia Vela Gurovic |
Bug Description
Mahara: 17.10.3
OS: Linux 16.04
DB: Postgres (not relevant)
Browser: Firefox and Chrome
In a collection on a view with the 'Previous page' displayed, the swiperight event is getting triggered on a mouse click.
When a user tries to select some text (i.e. click mouse, hold it down, and select text), this action is interpreted as a swipe action. And, the swiperight event is triggered.
I've come across this stackoverflow discussion:
Bascially, the swiperight and swipeleft events should be disabled on the mousedown event and enabled on the touchstart event.
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mahara: | |
milestone: | none → 18.10.0 |
Changed in mahara: | |
milestone: | 18.10.0 → 19.04.0 |
Changed in mahara: | |
milestone: | 19.04.0 → none |
tags: | added: snack-sized |
Changed in mahara: | |
assignee: | nobody → Rebecca Blundell (rjb-dev) |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
assignee: | Rebecca Blundell (rjb-dev) → nobody |
milestone: | none → 20.10.0 |
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Once this is fixed, we might be able to remove device detection in bug #1539322