Bug 176195 - webkitmouseforcechanged not being fired in an iframe
Summary: webkitmouseforcechanged not being fired in an iframe
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 10
Hardware: Mac macOS 10.12.4
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-31 16:33 PDT by alexreardon
Modified: 2019-02-06 09:19 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexreardon 2017-08-31 16:33:14 PDT
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&selectedStory=simple%20example&full=0&down=1&left=1&panelRight=0&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
Comment 1 Lucas Forschler 2019-02-06 09:19:01 PST
Mass move bugs into the DOM component.