long-press-event icon indicating copy to clipboard operation
long-press-event copied to clipboard

CustomEvent seems to remove coordinate properties?

Open sgalzin opened this issue 3 years ago • 2 comments

Hello, I was not able to query properties such as event.clientX, etc. However, event.detail.clientX worked. Without really knowing what I was doing, I did a search and replace CustomEvent to MouseEvent and code now works for me... I thought I'd let you know.

sgalzin avatar Jan 08 '22 22:01 sgalzin

Hi there, thanks for the info. Please can you provide an example?

john-doherty avatar Jan 08 '22 22:01 john-doherty

Hi! Here is a modified version of your fiddle in which I log to the console the clientX: https://jsfiddle.net/vqsbek9L/1/

sgalzin avatar Jan 08 '22 22:01 sgalzin