Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Resize method should be async #110

Copy link
Copy link
@NitnerocL

Description

@NitnerocL
Issue body actions

PanelContainer and TabHost make use of requestAnimationFrame in their resize implementation to to defer part of the processing until after the DOM has recalculated the dimensions. Those functions should either be rewritten to compute all sizes by hand and avoid relying on the DOM render (if applicable); or return a Promise, in order to:

  • state explicitly that their processing is delayed
  • allow consumers to wait for the resizing to complete before processing further, thus avoiding potential race conditions.

Those changes should be propagated through the entire resize call chain though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.