Skip to content

Commit

Permalink
Remove unneeded cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmoroz committed Nov 28, 2024
1 parent e30a9d4 commit 49d41de
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/src/components/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ export function Popup({ children, className, ...props }: Dialog.Popup.Props) {
viewport.style.transform = `400ms`;
setOpen(false);

// TODO this should be removed after https://github.com/mui/base-ui/pull/878
setTimeout(() => viewport.removeAttribute('style'), 600);

// Sometimes the first scroll event comes with the same scroll position
// If so, give it another chance, call ourselves recursively
} else if (viewport.scrollTop === y) {
Expand Down

0 comments on commit 49d41de

Please sign in to comment.