Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

When I started learning AngularJs i ran into something weird in a component when i write a click event and get send the $event as the parameter the type of event has to be MouseEvent in the TS file, ...
Sajjad-Kazemi's user avatar
0 votes
1 answer
68 views

When I add pointer-events:none; to video (just to temporarily disable controls), if focus is on play button, spacebar still triggers play. is this intended behavior? what would be the cleanest to ...
Toniq's user avatar
  • 5,146
0 votes
0 answers
41 views

After a long search I couldn't find a way to prevent screen capture (there is only drm for videos and not free). So, Can we use gotpointercapture event because it has a pointerType property and its ...
Mahmood's user avatar
1 vote
2 answers
470 views

I'm trying to create a dropdown list of buttons that only show up when the mouse pointer hover on the first button that is not hidden, and the dropdown list disappear when pointer leave when it no ...
Tana's user avatar
  • 11
2 votes
5 answers
135 views

I'm working on a portfolio website and want to click a few buttons towards the middle of the page that reference course names, but I'm unable to click through the element, even with pointer-events:...
Elsa's user avatar
  • 45
1 vote
1 answer
465 views

I am trying to create a drag and drop feature that is a child component within a modal where the currently dragged item follows the position of the mouse, however, the position of the mouse is being ...
Stéfan Martin's user avatar
0 votes
1 answer
1k views

Trying to get event handling correct for a web app that should work equally well with mouse and touch events, I started using pointer events where mouse and touch handling should be basically the same....
Harald's user avatar
  • 5,277
-1 votes
1 answer
418 views

I'm creating a mobile landing page by using a combination of two third-party pages embedded in iframes. One of the iframes has been optimized to display a volume button in 50x50 dimensions. The ...
Alex1987's user avatar
0 votes
2 answers
349 views

I have an anchor element that has several children inside. Requirements changed and now anchor might or might not have a link on it. The easiest way to change it would be to disable click events for ...
budgiebeaks's user avatar
0 votes
0 answers
556 views

Many components, such as Dialog, MenuBar, ComboBox, DatePicker, TimePicker and etc, use an ovverlay when it is opened. For example, when a menu item is clicked, menu is shown, and an overlay is added ...
aha's user avatar
  • 33
0 votes
0 answers
44 views

In following Next.js Component i want to add hover effects to the .itemCard and the button only. Those two must have diffent hover effects. (ex- itemcard will have a box-shadow effect and the button ...
Ramesh Madara's user avatar
1 vote
0 answers
127 views

I have a FlatList in React Native with fullscreen image and video items (with pagingEnabled). I want to have a short descriptive touchable text floating on top of the FlatList, to open up a view with ...
Andain's user avatar
  • 163
1 vote
1 answer
47 views

I have some very simple HTML that looks like <div id="parent"> <a href='#link' id="child">Child</a> </div> I want to style the parent when hovering ...
Simon Maurer's user avatar
2 votes
1 answer
102 views

I have a React application in which I have a transparent div covering text. The transparent div acts as a dropzone for draggable elements. There are also some children elements that may contain some ...
Bud Linville's user avatar
1 vote
1 answer
279 views

I have a simple SVG that contains a triangle and toggles its fill color when it's clicked: const toggleFill = (element) => { if (element.style.fill === 'silver') { element.style.fill = '...
Altay_H's user avatar
  • 636
6 votes
0 answers
2k views

I am trying to make readonly, but not disable, all types of form element only using css and html (i.e. no javascript). Some things (like inputs) are easy - the readonly attribute on the input does it. ...
Ben Holness's user avatar
  • 2,745
1 vote
1 answer
960 views

I am trying to create a custom cursor on a website (a blurry yellow spot). I created a div in HTML for the custom cursor and styled it in CSS. I gave the 'cursor: none' property to the body tag to ...
Curious Programmer's user avatar
0 votes
1 answer
407 views

I have dynamically created a chess board using JavaScript with all the pieces in their starting squares. I have worked out how to get the pieces to move around on the board but cannot figure out how ...
sexton67357's user avatar
1 vote
1 answer
800 views

I'm trying to create a very basic sketch pad using an HTML Canvas and pointer events. I've implemented a very basic codepen that demonstrates the issue at hand. The key functionality draws a red dot ...
cemulate's user avatar
  • 2,333
1 vote
0 answers
99 views

I am getting the above mentioned exception in PointerPressed that too only in the case of MFC application hosted using XAML Islands. In normal UWP application it is working fine. Essentially no other ...
LeJackArcher's user avatar
12 votes
1 answer
21k views

I'm building an interface that should work with mouse or touch. My user may have difficulty hitting their desired target because of a variety of physical issues. Pointer events seem perfect for this ...
GaryBishop's user avatar
  • 3,922
2 votes
0 answers
206 views

I'd like to support multi touch and pen/stylus input for my application using Pointer Events. Is there a way to debug touch/pen input on a desktop without any input hardware like this? I would like to ...
Jespertheend's user avatar
  • 2,420
0 votes
0 answers
639 views

End Goal: I'm trying to manipulate an element inside an svg from a library I'm using. The element has drag and drop capabilities, but also shows a pop-up on click. I would like to disable the drag and ...
Kyle Daines's user avatar
0 votes
4 answers
1k views

I have an anchor link that was inbuilt with a <i> tag, as I know we can disable/prevent click with different methods on the anchor tag. But my question arises can we prevent the click only for &...
Script Host's user avatar
2 votes
0 answers
567 views

The pinch/zoom example on MDN using PointerEvents looks easy enough, yet looking a bit closer, I wonder about the following. If two touching fingers are moved simultaneously with fixed distance, I ...
Harald's user avatar
  • 5,277

1
2 3 4 5