-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING: Only enable incremental mount if parent incremental mount i…
…s enabled Summary: We do not currently handle the case well where a parent ComponentTree (e.g. hscroll) has incremental mount turned off, but its children (e.g. the items in the hscroll) all have it turned on. In this case, the children mount what is visible on the first frame they appear, and never receive any other incremental mount callbacks. The solution here is to provide a way to pass through whether the parent context has incremental mount disabled, and use that to set whether it's enabled/disabled on the child ComponentTree Reviewed By: pasqualeanatriello Differential Revision: D14875607 fbshipit-source-id: 3018a71839198af3cf44be034a4cde11ff236232
- Loading branch information
1 parent
47baa36
commit c88a660
Showing
4 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters