superset-frontend/src/dashboard/components/dnd/handleScroll/index.ts
Function handleScroll
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function handleScroll(scroll: string) {
const setupScroll =
scroll === 'SCROLL_TOP' &&
!scrollTopDashboardInterval &&
document.documentElement.scrollTop !== 0;