Skip to content

Commit

Permalink
omfg please
Browse files Browse the repository at this point in the history
  • Loading branch information
a-creation committed Sep 6, 2024
1 parent c64a5a3 commit 52867f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1244,16 +1244,16 @@ const Content = /*#__PURE__*/ React__namespace.default.forwardRef(function({ onO
closeDrawer();
},
onFocusOutside: (e)=>{
if (!modal) {
e.preventDefault();
return;
}
// if (!modal) {
// e.preventDefault();
// return;
// }
},
onEscapeKeyDown: (e)=>{
if (!modal) {
e.preventDefault();
return;
}
// if (!modal) {
// e.preventDefault();
// return;
// }
},
onPointerMove: (event)=>{
if (handleOnly) return;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ const Content = /*#__PURE__*/ React__default.forwardRef(function({ onOpenAutoFoc
onOpenAutoFocus(e);
} else {
var _drawerRef_current;
e.preventDefault();
// e.preventDefault();
(_drawerRef_current = drawerRef.current) == null ? void 0 : _drawerRef_current.focus();
}
},
Expand Down

0 comments on commit 52867f9

Please sign in to comment.