@khanacademy/wonder-blocks-clickable
Advanced tools
Comparing version 4.1.1 to 4.1.2
# @khanacademy/wonder-blocks-clickable | ||
## 4.1.2 | ||
### Patch Changes | ||
- e6433bee: Fix event bubbling on ClickableBehavior when submit is used. | ||
## 4.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -307,2 +307,3 @@ import * as React from 'react'; | ||
const event = new window.Event("submit", { | ||
bubbles: true, | ||
cancelable: true | ||
@@ -309,0 +310,0 @@ }); |
@@ -331,2 +331,3 @@ 'use strict'; | ||
const event = new window.Event("submit", { | ||
bubbles: true, | ||
cancelable: true | ||
@@ -333,0 +334,0 @@ }); |
{ | ||
"name": "@khanacademy/wonder-blocks-clickable", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"design": "v1", | ||
@@ -5,0 +5,0 @@ "description": "Clickable component for Wonder-Blocks.", |
@@ -460,2 +460,6 @@ import * as React from "react"; | ||
const event = new window.Event("submit", { | ||
// This is required as event propagation changed in | ||
// React 17. | ||
// @see https://legacy.reactjs.org/blog/2020/10/20/react-v17.html#changes-to-event-delegation | ||
bubbles: true, | ||
cancelable: true, | ||
@@ -462,0 +466,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242352
4691