Skip to content

Conversation

@mlykotom
Copy link
Contributor

@mlykotom mlykotom commented May 6, 2025

After migrating to be Node based, it's possible the Modifier node can be reused.

For example, when scrolling in a LazyColumn the nodes of items scrolled off the viewport may be recycled and used with items scrolling into the viewport. When this occurs, the composition count needs to be reset. Otherwise, it may look like the item scrolling into the viewport has recomposed more than it actually has.

mlykotom added 2 commits May 6, 2025 11:20
After migrating to be Node based, it's possible the Modifier node can be reused. For example, when scrolling in a LazyColumn the nodes of items scrolled off the viewport may be recycled and used with items scrolling into the viewport. When this occurs, the composition count needs to be reset. Otherwise, it may look like the item scrolling into the viewport has recomposed more than it actually has.
@mlykotom mlykotom requested review from a team and MagicalMeghan May 6, 2025 09:24
@mlykotom mlykotom requested a review from bentrengrove May 13, 2025 06:50
@mlykotom mlykotom merged commit 903fcbc into main May 14, 2025
5 checks passed
@mlykotom mlykotom deleted the fix-recomp-highlighter branch June 1, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants