<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>279749</bug_id>
          
          <creation_ts>2024-09-15 21:00:22 -0700</creation_ts>
          <short_desc>&quot;pointerdown&quot; event not published on first interaction after a drag</short_desc>
          <delta_ts>2024-09-24 03:32:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>Safari 17</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>202287</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alexreardon</reporter>
          <assigned_to name="Abrar Rahman Protyasha">a_protyasha</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2060372</commentid>
    <comment_count>0</comment_count>
    <who name="">alexreardon</who>
    <bug_when>2024-09-15 21:00:22 -0700</bug_when>
    <thetext>After dragging a draggable element (`&lt;div draggable=&quot;true&quot;&gt;Drag me&lt;/div&gt;`), the next depression of the users pointer does not publish a &quot;pointerdown&quot; event (but a &quot;mousedown&quot; event is fired).

## Steps to reproduce

1. Drag a draggable element (`&lt;div draggable=&quot;true&quot;&gt;Drag me&lt;/div&gt;`)
2. Finish the drag
3. Press down a pointer anywhere on the screen and no &quot;pointerdown&quot; event is published

## Expected behaviour

A &quot;pointerdown&quot; event is published when a user depresses their pointer after a drag operation.

## Reproduction case

- Standalone demo: https://xdn5vw.csb.app/ (See `console` for logs and you will see that &quot;pointerdown&quot; is missing on the interaction after a drag)
- Source: https://codesandbox.io/p/sandbox/xdn5vw?file=%2Fsrc%2Findex.ts%3A16%2C1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060611</commentid>
    <comment_count>1</comment_count>
    <who name="">alexreardon</who>
    <bug_when>2024-09-16 17:16:21 -0700</bug_when>
    <thetext>This issue is a duplicate of: https://bugs.webkit.org/show_bug.cgi?id=202287 which was raised in 2019</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2062241</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-22 21:01:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/136475226&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2062701</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-09-24 03:32:38 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 202287 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>