Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawer + Model Dialog component causes data grid scroll to top and bottom on every state change. #312

Open
lennaylennay2 opened this issue Feb 19, 2025 · 0 comments

Comments

@lennaylennay2
Copy link

How to Repo.

  1. Use react-data-grid-react-window use with data long enough to allow for scroll to show.
  2. Open Drawer from @fluentui/react-components. Include in the drawer compoents with state such as .
  3. Add means to open Dailog from within Drawer.
  4. Close the dailog
  5. Using switch from step 2 you can see that the data grid scroll bar changes positions. For some reason reacting to the change in state of the swtich even though the switch is a nephew element.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant