|
|
@ -14,6 +14,7 @@ export const isActiveInputElementExist = () => { |
|
|
|
!!document.activeElement?.getAttribute('contenteditable') |
|
|
|
!!document.activeElement?.getAttribute('contenteditable') |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
export const isFieldEditOrAddDropdownOpen = () => document.querySelector('.nc-dropdown-edit-column.active') |
|
|
|
export const getScrollbarWidth = () => { |
|
|
|
export const getScrollbarWidth = () => { |
|
|
|
const outer = document.createElement('div') |
|
|
|
const outer = document.createElement('div') |
|
|
|
outer.style.visibility = 'hidden' |
|
|
|
outer.style.visibility = 'hidden' |
|
|
|