Skip to content

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

@Dudrie

Description

@Dudrie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions