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
Switch the view to mobile (don't resize the window but rather use the "toggle device toolbar" button in devtools [or simply open on mobile device - i found this on iOS, Safari)
Click on the thumbnail
Here is the result i get in my app (and reproduced in the link) - in there you can see that only swiping to the side changes the image.
Recording.2024-12-28.133302.mp4
Expected behavior
Clicking on thumbnail should set current index to selected image just like on desktop
The text was updated successfully, but these errors were encountered:
I probably treats a single touch as touch move with diff 0 and thus, treating it as "right swipe" (checks out in the reproducer)
Although if(diff === 0) could solve this issue, I think its ill-behaviour to even consider swipes as a way to change current picture if the "show thumbnails" is enabled.
Describe the bug
Clicking on Galleria thumbnails on mobile device doesn't do anything. If you want to change the image you have to swipe from one side to another
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-tmvmg2i6?file=src%2FApp.vue
Environment
Vue version
3
PrimeVue version
4.2.5
Node version
18.17.1
Browser(s)
No response
Steps to reproduce the behavior
Here is the result i get in my app (and reproduced in the link) - in there you can see that only swiping to the side changes the image.
Recording.2024-12-28.133302.mp4
Expected behavior
Clicking on thumbnail should set current index to selected image just like on desktop
The text was updated successfully, but these errors were encountered: