fix: SW-1010 Fixed low screen height accessibility issue
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
export default function useSetOverflowVisibleOnRA() {
|
||||
export default function useSetOverflowVisibleOnRA(isNestedInModal: boolean) {
|
||||
function setOverflowVisible(isOpen: boolean) {
|
||||
if (isOpen) {
|
||||
document.body.style.overflow = "visible"
|
||||
} else {
|
||||
} else if (!isNestedInModal) {
|
||||
document.body.style.overflow = ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user