Mouse events don't trigger on parent or any children on touch devices / emulator
See original GitHub issueUsing version v1.7.1
Are click events being hijacked on all children? I’ve tried putting a click handler on every level of the following template code, but no click event will fire when clicking within the VDR parent area.
I also set a document
level event listener with the same issue above. Any clicks within the VDR parent element do not trigger a call back.
I am using the library to grab and pan a map image, and I need map pins to be clickable. Any thoughts on how to achieve this?
Thanks!
.Maps
v-ons-toolbar
.center Maps
.map-container
vue-draggable-resizable(
:resizable="false"
:parent="true"
:minw="1500"
:minh="1000"
:h="1000"
:x="250"
:y="100"
:drag-cancel="'.no-drag'"
)
visual(image="/static/img/fpo-map.png")
.pins
MapPin(@click="onClick" x="800" y="300")
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
handle both mouse and touch events on touch screens
Firing of events mousedown and touchstart will produce double calls for handlers on devices that support both (probably touch fires first). The same...
Read more >Input management — Kivy 2.1.0 documentation
Input architecture¶ · Touch events: a motion event that contains at least an X and Y position. All the touch events are dispatched...
Read more >Manual: Unity XR Input
For example, Unity defines the InputFeatureUsage called trigger as a single-axis input that the ... no matter which controller or input device provides...
Read more >ScrollView - Android Developers
To add multiple views within the scroll view, make the direct child you add a view ... Implement this method to intercept all...
Read more >Touch and Manipulation Tutorial - Documentation - NoesisGUI
Gesture events · Tapped. Tapped triggers when a finger is touched to the screen briefly, and removed. · DoubleTapped. A DoubleTap interaction is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Lemenxzy Above your comment you can read:
So yes, it is fixed.
I’m going to fix it this weekend, so it’s just a matter of few days 👍