-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
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
Labels
No labels