<?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>176195</bug_id>
          
          <creation_ts>2017-08-31 16:33:14 -0700</creation_ts>
          <short_desc>webkitmouseforcechanged not being fired in an iframe</short_desc>
          <delta_ts>2019-02-06 09:19:01 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>Safari 10</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.12.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alexreardon</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1344192</commentid>
    <comment_count>0</comment_count>
    <who name="">alexreardon</who>
    <bug_when>2017-08-31 16:33:14 -0700</bug_when>
    <thetext>Hi there,

It seems as though a number of the new mouse force touch events do not fire when inside an iframe. 

The only one that does seem to fire is webkitmouseforcewillbegin.

The other events do not fire when attached to the element publishing the event - or to a higher handler such as window.

Here is the Github issue that originally got me investigating this: https://github.com/atlassian/react-beautiful-dnd/issues/62

Examples

- Example within an iframe (events do not fire)
https://react-beautiful-dnd.netlify.com/?selectedKind=single%20vertical%20list&amp;selectedStory=simple%20example&amp;full=0&amp;down=1&amp;left=1&amp;panelRight=0&amp;downPanel=storybook%2Factions%2Factions-panel

- Example outside of an iframe (events do fire)
https://react-beautiful-dnd.netlify.com/iframe.html?


Docs about the new mouse force touch events:

https://developer.apple.com/library/content/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503294</commentid>
    <comment_count>1</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:19:01 -0800</bug_when>
    <thetext>Mass move bugs into the DOM component.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>