Touch Control - Thumbnails selects photo randomly when tapping. #12943
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
As I was testing our photo gallery using a tablet (Windows Surface), I tapped a photo on the thumbnail section and noticed that it selects another photo randomly. It won't respect the position of my finger and won't select the one I just tapped.
One thing I noticed when I was troubleshooting it is the DIV that has a class of "p-galleria-thumbnail-items" has event listeners on touchstart, touchmove and touchend. The moment I removed them while I'm in the debugger, it worked.
Environment
Reproducer
No response
Angular version
14.1.0
PrimeNG version
14
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
16.13.2
Browser(s)
Google Chrome
Steps to reproduce the behavior
Expected behavior
It supposed to select whichever you tapped
The text was updated successfully, but these errors were encountered: