KaneOne
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
src/components/Table/src/hooks/useTableScroll.ts
|
|
|
@ -194,6 +194,7 @@ export function useTableScroll( |
|
|
|
let modalElIterator: HTMLElement = tableEl.parentElement!; |
|
|
|
let modalIsFullscreen = false; |
|
|
|
while (modalElIterator !== document.body) { |
|
|
|
if(!modalElIterator) break; |
|
|
|
if (modalElIterator.classList.contains('ant-modal')) { |
|
|
|
modalEl = modalElIterator; |
|
|
|
modalWrapEl = modalEl.parentElement; |
|
|
|
|