@mackin.com/styleguide 8.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1574,7 +1574,12 @@ const Modal = (p) => {
|
|
|
1574
1574
|
e.stopPropagation();
|
|
1575
1575
|
}, onMouseUp: e => {
|
|
1576
1576
|
mouseDownElement.current = undefined;
|
|
1577
|
-
|
|
1577
|
+
/*
|
|
1578
|
+
MouseDown and MouseUp stopPropagation was added to fix bugs while clicking within the modal.
|
|
1579
|
+
At least in the case of MouseUp, this breaks sliders and the handle grab logic appears to live on window.
|
|
1580
|
+
Turning this off now. Should not cause any issues for MouseUp unlike MouseDown.
|
|
1581
|
+
*/
|
|
1582
|
+
// e.stopPropagation()
|
|
1578
1583
|
}, className: css.cx('modalBody', modalBodyStyles, p.className) },
|
|
1579
1584
|
React__default['default'].createElement(TabLocker, null,
|
|
1580
1585
|
hasHeader && (React__default['default'].createElement("header", { className: css.cx('modalHeader', modalHeaderStyles) },
|