-
Notifications
You must be signed in to change notification settings - Fork 463
Closed
Description
I'm losing scroll position after adding the shadcn dialog and opening it, should this be expected to work? Could be related to #346
Steps
npx create-epic-app@latestnpm install lucide-react(for shadcn dialog)npx shadcn-ui@latest add dialog- Add the dialog example from the shadcn docs to a point "below the fold", like this
- Click "open"
Expected
Dialog opens and the scroll position is preserved
Actual
Dialog opens but scroll position resets to the top
In this repo I've done that, the only change to the initial template are the shadcn dialog bits: https://github.com/WillSmithTE/dialog-scroll
dialog-scroll-reset.mov
Metadata
Metadata
Assignees
Labels
No labels