Re: [pointerevents] What should be the 'detail' property of pointer events? (#98)

I have an Issue that one single mouse-click creates two PointerEvents. 
The first PointerEvent have a details of 1
The second PointerEvent have a detail of 0

I could reproduce it in Chromium (Version 123.0.6312.86 (Offizieller Build) snap (64-Bit)) and Firefox (124.0 (64-Bit)) on Ubuntu!

HTML Code: 
```
<body>
 <div id="wrap">
  <div class="calendar">
   <label class="today_is_f daygap0 unknown" 
                                          onclick="console.log('event.detail:',event.detail);">
    <input type="radio" name="cal750" checked="">
    <span>5</span>
   </label>
  </div>
 </div>
</body>
```


Output of the click onto the optionbox:  
```
event.detail: 1
event.detail: 0
```
If I doubleclick onto the optionbox this is the output:
```
event.detail: 1
event.detail: 0
event.detail: 2
event.detail: 0
```

If I click on the number 5 this is the output
```
event.detail: 0
```
As you might have noticed, I use the html-attribute "onclick". 



-- 
GitHub Notification of comment by enexusde
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/98#issuecomment-2041043843 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 6 April 2024 10:35:57 UTC