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

Revert "Alleviate excessive layout jittering when resizing window (#439)" #1318

Merged
merged 1 commit into from
Aug 4, 2022

Commits on Aug 2, 2022

  1. Revert "Alleviate excessive layout jittering when resizing window (mi…

    …crosoft#439)"
    
    This change reverts microsoft#459 - but still tries to address the original issues:
    - microsoft#422
    - microsoft#322
    
    This also addresses an issue when programmatically resizing windows where the RCTRootContentView may end up at the wrong size because an in-flight layout gets resolved after the resize on the main thread.
    We now keep sync dispatch on the shadow queue for live resizing windows (to prevent tearing) but also dispatch async (as done on iOS) so the latest new size is sure to win.
    The block has a check to bail if the size doesn't change, so this isn't a perf drain running the block twice.
    appden authored and christophpurrer committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    cb1f147 View commit details
    Browse the repository at this point in the history