Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
118 views

Description Touch events are completely unresponsive in production builds on Samsung S23 Ultra running Android 15 when the Screen Magnification accessibility setting is set to 1x. The app renders ...
Kristiyan's user avatar
  • 413
-1 votes
1 answer
44 views

I have Lynx-9500 sls device which I did cross compile Qt5.12 library by it's toolchain. Qt cross compilation was ok with Tslib library, but when I create simple QWidget to test touch screen it does ...
peacism's user avatar
  • 31
550 votes
37 answers
690k views

I've written a jQuery plug-in that's for use on both desktop and mobile devices. I wondered if there is a way with JavaScript to detect if the device has touch screen capability. I'm using jquery-...
screenm0nkey's user avatar
  • 18.9k
1 vote
1 answer
109 views

I've created a custom button in Avalonia UI. It is intended to be used as 'momentary' button (active on press, inactive on release). On pc/mouse environment everything works ok. But on touch device, ...
mmmihovil's user avatar
268 votes
19 answers
321k views

I want to ignore all :hover CSS declarations if a user visits our website via touch device. Because the :hover CSS does not make sense, and it can even be disturbing if a tablet triggers it on click/...
Simon Ferndriger's user avatar
235 votes
31 answers
176k views

I have created a carousel with a previous and a next button that are always visible. These buttons have a hover state, they turn blue. On touch devices, like iPad, the hover state is sticky, so the ...
Chris's user avatar
  • 2,523
283 votes
20 answers
230k views

I have an activity that is using the Theme.Dialog style such that it is a floating window over another activity. However, when I click outside the dialog window (on the background activity), the ...
Fergusmac's user avatar
  • 3,801
295 votes
17 answers
378k views

How do I add a touch event to a UIView? I try: UIView *headerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, nextY)] autorelease]; [headerView addTarget:self ...
Manni's user avatar
  • 11.1k
290 votes
8 answers
429k views

I am using hammer for dragging and it is getting choppy when loading other stuff, as this warning message is telling me. Handling of 'touchstart' input event was delayed for X ms due to main ...
Matt's user avatar
  • 35.6k
202 votes
18 answers
233k views

I want to disable the double-tap zoom functionality on specified elements in the browser (on touch devices), without disabling all the zoom functionality. For example: One element can be tapped ...
Wouter Konecny's user avatar
184 votes
24 answers
78k views

I'm developing a webapp (not a website with pages of interesting text) with a very different interface for touch (your finger hides the screen when you click) and mouse (relies heavily on hover ...
nraynaud's user avatar
  • 5,181
243 votes
11 answers
310k views

While working with browser events, I've started incorporating Safari's touchEvents for mobile devices. I find that addEventListeners are stacking up with conditionals. This project can't use JQuery. ...
johnkreitlow's user avatar
  • 2,433
217 votes
13 answers
250k views

I'd like to do a simple control: a container with a view inside. If I touch the container and I move the finger, I want to move the view to follow my finger. What kind of container (layout) should I ...
Zelter Ady's user avatar
  • 6,358
192 votes
14 answers
167k views

What is the safest way, using media queries, to make something happen when not on a touchscreen device? If there is no way, do you suggest using a JavaScript solution such as !window.Touch or ...
JJJollyjim's user avatar
  • 6,297
2 votes
0 answers
60 views

I make a Qt5 C++ application and run this on Windows 10 with a touch screen. I have a QPushButton that increments a counter. I have setAutoRepeat(true) on this button so that the user can avoid ...
Andy's user avatar
  • 4,029
-1 votes
1 answer
87 views

I have created a view like this using XIB with having half of height assign to that view. static func drawRightTriangle(targetView target: UIView, cornerRadius: CGFloat, borderView: UIView) { ...
Jitendra Modi's user avatar
140 votes
12 answers
197k views

I have a page with a section to sketch a drawing in. But the touchmove events, at least the vertical ones, are also scrolling the page (which degrades the sketching experience) when using it on a ...
Scott Hunter's user avatar
2 votes
0 answers
50 views

Excel 2021 used with touch screen. Windows 10. Long taps or double taps cause this horizontal pop-up bar to appear. I have disabled right click and double click through VBA but this is something ...
edednedy's user avatar
175 votes
13 answers
113k views

I have a view overlayed on top of many other views. I am only using the overaly to detect some number of touches on the screen, but other than that I don't want the view to stop the behavior of other ...
sol's user avatar
  • 6,462
147 votes
5 answers
103k views

There is a blue highlight that appears whenever a Div that has the cursor:pointer property applied is touched in Chrome. How can we get rid of it? I have tried the following: -webkit-touch-callout: ...
Ulad Kasach's user avatar
  • 13.1k
1 vote
0 answers
47 views

I've got a webapp with an iframe embedded in it, and have been using pynput as a way to detect the mouse inputs on this webapp. Trouble is, when using the touchscreen to click on the iframe it no ...
stackmac's user avatar
0 votes
1 answer
56 views

I wrote a teensy app in Swift/SpriteKit/iOS for a button that turns a color when pressed. It works fairly well except for one thing: If I touch the button in a certain fashion -- a quick half-swipe, ...
Chris Tucker's user avatar
125 votes
21 answers
122k views

I'm writing a Web site that's meant to be used from both desktops and tablets. When it's being visited from a desktop, I want the clickable areas of the screen to light up with :hover effects (...
Joe White's user avatar
  • 98.3k
130 votes
15 answers
254k views

With some HTML like this: <p>Some Text</p> Then some CSS like this: p { color:black; } p:hover { color:red; } How can I allow a long touch on a touch enabled device to replicate ...
Rich Bradshaw's user avatar
138 votes
4 answers
175k views

I have a fixed image that overlays a page when the user is in the act of scrolling a touch screen (mobile). I want to make that image "unclickable" or "inactive" or whatever, so that if a user ...
hannebaumsaway's user avatar
0 votes
0 answers
33 views

I launched the Qt example "PointerHandlers" map.qml And I found that after I performed the pinch movement and released one finger, the square for some reason changes its position You will ...
Andrey Strokov's user avatar
0 votes
1 answer
343 views

Below is my xaml page. You will see that I have a Border control which I added a Touch Behavior to. This works...but the button inside the border control has a button click event which never triggers. ...
L3prichaun13's user avatar
124 votes
6 answers
147k views

I need to build a project for drawing on canvas by fingers. How to get the touch event and motion event of my finger and then draw?
Sameer H. Ibra's user avatar
39 votes
16 answers
75k views

In Windows 8 and Windows 10 before Anniversary update it was possible to show touch keyboard by starting C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe It no longer works in Windows ...
EugeneK's user avatar
  • 2,223
119 votes
3 answers
111k views

I have already styled and implemented jQuery UI slider into a project. Though it's responsive, the slider does not respond to being touched and dragged. Instead, you have to touch where you want the ...
Seth's user avatar
  • 10.5k
0 votes
0 answers
120 views

I'm using a raspberry pi 4 with display. I have enabled touch but I can't use the scroll to scroll. I tried to add this file with this information but I continue to have this problem despite having ...
Francesco Palopoli's user avatar
1 vote
1 answer
87 views

I'm working on an app that takes touches/pen input from an Android device and sends them to PC. The overwhelming majority of it is done but now I'm working on things like monitor switching and other ...
Alexis Shepard's user avatar
130 votes
5 answers
80k views

How do I get the jQuery-UI sortable feature working on iPad and other touch devices? http://jqueryui.com/demos/sortable/ I tried to using event.preventDefault();, event.cancelBubble=true;, and event....
eventhorizon's user avatar
  • 3,629
0 votes
1 answer
375 views

I'm working at a company which develops an application which can be used for drawing with multiple touch inputs at once. The problem is, when you swipe with three or four fingers upward or downward, ...
Dante's user avatar
  • 21
65 votes
7 answers
69k views

I'd like to provide separate behaviour for browsers supporting hover (e.g. desktop browsers) and ones which don't (e.g. touchscreen devices). Specifically I want to declare a hover state on browsers ...
moogal's user avatar
  • 1,649
72 votes
11 answers
97k views

http://marakana.com/tutorials/android/2d-graphics-example.html I am using this example below. But when I move my fingers too fast across the screen the line turns to individual dots. I am not sure ...
Somk's user avatar
  • 12.1k
0 votes
2 answers
121 views

I have a fulscreen SpriteKit scene view, that handles pan gestures within itself. Over it, I have overlaid native SwiftUI views with OnTapGesture, which must react to them being touched but should not ...
Tarasus's user avatar
  • 19
0 votes
0 answers
14 views

First off, here's my code: $("#slider-range").slider({ range: true, min: 0, max: 500, values: [75, 300], slide: function(event, ui) { $("#amount").val("$" + ui.values[0] + " - $...
user7182273's user avatar
2 votes
1 answer
2k views

I'm making third person shooter game in unity for android and this is my first time working on touch controls so with the help of youtube videos I was able to make virtual joystick and button with ...
Areesh Ahmad's user avatar
5 votes
2 answers
4k views

I have the following two functions defined in my .zshrc newdir(){ # make a new dir and cd into it if [ $# != 1 ]; then printf "\nUsage: newdir <dir> \n" ...
cheechi's user avatar
  • 75
50 votes
17 answers
85k views

I have an activity with a Dialog theme and I would like to close (finish) this activity when someone touches the screen anywhere outside this activity's window ? How can I do this ?
Alex's user avatar
  • 2,233
0 votes
1 answer
105 views

I am working on a kivy project to create some control panel for a ship (toggle lights etc). One of the screens I am also working on is a navigation using the kivy_garden.mapview. This is the screen ...
SHolzhauer's user avatar
2 votes
2 answers
1k views

This question is an update to this one, but for modern browsers. (Unfortunately the answers here are outdated and/or not in vanilla JavaScript). Essentially I want to perform a simple test to detect ...
Ood's user avatar
  • 1,857
0 votes
1 answer
40 views

var reachedLast = false; var reachedFirst = false; jQuery("#gbar").draggable({ axis: "x", containment: "parent", drag: function (event, ui) { var ...
Moumita Dey's user avatar
2 votes
0 answers
77 views

I'm developing a WPF application designed for touch screens. There is a modal window with button "New" on it. The button has 3 states: Normal: Hovered (orange background): Pressed (orange ...
Fulcrum's user avatar
  • 21
76 votes
11 answers
83k views

I can't find an example on how to intercept the map touch on the new Google Maps API v2. I need to know when the user touches the map in order to stop a thread (the centering of the map around my ...
34 votes
16 answers
124k views

I want to fix the hover effect on iOS ( change to touch event ) but I dont have any idea . Let me explain this . You have a text in your page : <div class="mm">hello world</div> With ...
user2627442's user avatar
1 vote
0 answers
38 views

I create application for Windows touch screen, but it's not working properly beacuse when i use mouse click everything works ok but when i use touch sometimes application is working but many times ...
user2866205's user avatar
2 votes
1 answer
1k views

As I have written in the title, I am dealing with Google Maps Javascript API. In particular I am using the last released Advanced Markers for their customization capabilities. These elements can be ...
Federico Tomasi's user avatar
0 votes
0 answers
35 views

I have a one plus Nord 4 Android phone with oxygenOS 14.1 I can't seem to find a way to remove the touch animation effect from widgets when interacting with them. I managed to do on my old phone in ...
stickske's user avatar

1
2 3 4 5
126