1,949
questions
0
votes
0
answers
21
views
how to prevent swipe event from passing through the top div to the layer below
I have a leaflet map on which I show a sliding info panel when the user clicks on a marker. It looks like so
┌─────────────────────────┐
│ │
│ │
│ ...
1
vote
0
answers
32
views
Two fingers touch generates touchstart event with a single touch
I'm building a drawing app (JS + HTML canvas) which should handle "pan" gestures.
So I have to distinguish a single-finger-touch (for drawing) and a two-fingers-touch (for panning).
And I've ...
0
votes
0
answers
16
views
React Native Throttle Control: Handle Jumps on Initial Touch, Seeking Smooth Dragging Without Teleportation
I'm building a throttle control using React Native. The issue is when I initially touch the throttle handle, it teleports to a different position rather than staying at the point of contact and ...
0
votes
0
answers
17
views
Missing touch events in android for view with height and width 0. OnTouchListener does not invoke onTouch()
I have one ActivityMonitor class and in which I have attachTouchDetectorView() methos as below:
private void attachTouchDetectorView(Activity activity) {
WindowManager.LayoutParams layoutParams = ...
1
vote
0
answers
20
views
How does the inner element of the ScrollView receive the full touchEvents sequence as it slides?
I have a ScrollView with a lot of items - A,B,C... The OnTouchListener is set for all items to listen for ACTION_DOWN, ACTION_MOVE, and ACTION_UP event sequences. For example, when I swipe up and down ...
0
votes
1
answer
136
views
(UE 5.4.2) (Enhanced Input System) Touch Pressed trigger fires only once
As you can see on image I have three Control Bindings
Space Bar - works perfectly on desktop. I can press several times Space Bar and my binned function fires each time
Touch 1 - fires only once on ...
0
votes
0
answers
27
views
Unable to add HorizontalDragTetector to Player class in Flutter Flame
I have a Player class that has movement, I need to add gesture controls so a user can drag their finger left and right to move the player on the screen. From research I have done online it seems ...
0
votes
1
answer
38
views
Select Input not opening on touch -
I have a cam/presentation application.
In the whiteboarding tools (which open from bottom button on left tool bar), I cannot get the color picker or select fields to open on touchstart event, or any ...
0
votes
0
answers
85
views
Android Jetpack Compose not properly letting through all touch release events to a WebView
So I've been struggling for days finding out why my webview based app was not properly letting go of touch events, if I used multi touch and released both fingers at once it would only release 1 of ...
0
votes
0
answers
96
views
Video Controls are not working on mobile devices
I am making a custom video player in Next JS using the react-player library, in addition to the normal controls I am adding a thumbnail preview on-hover on the desktop and with onTouchMove in case of ...
0
votes
0
answers
34
views
Trouble detecting touched elements within a div while dragging on touchscreen
I'm currently working on implementing a drawing board within a <div> element, where users can draw by dragging their fingers across the grid on touchscreen devices. The grid has a maximum size ...
0
votes
0
answers
40
views
onClick or onTouchEnd doesn't work for iOS but works in desktop
I am creating a website for which i need to display different product card on a page with the URL being provided. I tested in desktop browser and onClick triggers properly whether internal or external ...
0
votes
1
answer
98
views
How to prevent scrolling when touching a certain html element on a touch device?
I have a simple browser game which is finished on desktop, but which I am trying to make work on mobile.
The current problem is that when the user uses a touchscreen to make a vertical dragging motion ...
1
vote
1
answer
46
views
Detect screen moving with JS after user has swiped it and ended the touch
I have a scrollable html element, which is wider than screen. And there is mini scroll map to show scroll position.
On touch devices, when user makes a swipe move and then ends the touch, element ...
1
vote
1
answer
79
views
How does onInterceptTouchEvent work for two overlapping ViewGroup?
I may misunderstand the concept of onInterceptTouchEvent and need you to help.
So if I have the ViewGroup A and ViewGroup B which is overlapping with ViewGroup A, I want to know how ...