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

[VirtualizedList] Resize listener not properly working if dimensions decrease #923

Open
Dudrie opened this issue Jan 16, 2021 · 0 comments
Labels
🐞 bug Something isn't working 💻 client Issue is related to the client ↘ Priority: Low ❓ Still an issue? Maybe an other contribution has also fixed this one.

Comments

@Dudrie
Copy link
Collaborator

Dudrie commented Jan 16, 2021

If the webpage is made smaller (in height or width) the ResizeObserver on the list's root div is not fired properly (ie at all). This leaves to more and unnecessary scrollbars on the page.

✔️ Expected behaviour

Making the window smaller should result in the VirtualizedList's size being properly adapted.

⚡ Actual behaviour

Making the window smaller does not change the size of the VirtualizedList.

🕹️ Steps to reproduce

  1. Open page with VirutalizedList.
  2. Make the window smaller.
  3. Observe that the size of the VirtualizedList was not properly adjusted.
@Dudrie Dudrie added 🐞 bug Something isn't working 💻 client Issue is related to the client labels Jan 16, 2021
@nk-coding nk-coding added ↘ Priority: Low ❓ Still an issue? Maybe an other contribution has also fixed this one. labels May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 💻 client Issue is related to the client ↘ Priority: Low ❓ Still an issue? Maybe an other contribution has also fixed this one.
Projects
None yet
Development

No branches or pull requests

2 participants