@popsure/dirty-swan 0.56.2 → 0.56.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popsure/dirty-swan",
3
- "version": "0.56.2",
3
+ "version": "0.56.3",
4
4
  "author": "Vincent Audoire <vincent@getpopsure.com>",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -72,6 +72,7 @@ const InnerModal = ({
72
72
  : classNames?.wrapper?.({ isClosing })
73
73
  }
74
74
  >
75
+ <FocusLock returnFocus className="m-auto">
75
76
  <div
76
77
  aria-modal="true"
77
78
  role="dialog"
@@ -82,7 +83,6 @@ const InnerModal = ({
82
83
  }
83
84
  onClick={handleContainerClick}
84
85
  >
85
- <FocusLock returnFocus>
86
86
  <div
87
87
  className={classNamesUtil(
88
88
  'bg-white d-flex ai-center w100 px24 pt24 pb16',
@@ -146,8 +146,8 @@ const InnerModal = ({
146
146
  <div className="p24 pt16">{footer}</div>
147
147
  </div>
148
148
  )}
149
- </FocusLock>
150
- </div>
149
+ </div>
150
+ </FocusLock>
151
151
  </div>
152
152
  </div>
153
153
  );