@codeleap/web 3.12.17 → 3.12.18
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
|
@@ -335,11 +335,9 @@ export const Modal = (props) => {
|
|
|
335
335
|
if (visible) {
|
|
336
336
|
document.body.style.overflowY = 'hidden'
|
|
337
337
|
document.body.style.overflowX = 'hidden'
|
|
338
|
-
document.body.style.maxHeight = '100svh'
|
|
339
338
|
} else {
|
|
340
339
|
document.body.style.overflowY = 'visible'
|
|
341
340
|
document.body.style.overflowX = 'hidden'
|
|
342
|
-
document.body.style.maxHeight = 'unset'
|
|
343
341
|
}
|
|
344
342
|
}, [visible])
|
|
345
343
|
|
|
@@ -377,7 +377,7 @@ export const Select = forwardRef<HTMLInputElement, SelectProps>(
|
|
|
377
377
|
|
|
378
378
|
const MenuComponent = React.useCallback((props) => {
|
|
379
379
|
return <CustomMenu {...props} Footer={FooterComponent} />
|
|
380
|
-
}, [])
|
|
380
|
+
}, [FooterComponent])
|
|
381
381
|
|
|
382
382
|
const MenuListComponent = React.useCallback((props) => {
|
|
383
383
|
return <CustomMenuList {...props} defaultStyles={menuWrapperStyles} />
|