Skip to content

Conversation

@acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Aug 29, 2024

Description

ScrollViewComponentView's are currently leaking when used. This fixes the ref cycle between the ScrollView and the ScrollBars. I also added a new command to playground-composition to unload the instance which helps debug leak issues.

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner August 29, 2024 19:03
Copy link
Contributor

@rurikoaraki rurikoaraki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@acoates-ms acoates-ms merged commit 3486e57 into microsoft:main Aug 30, 2024
@acoates-ms acoates-ms deleted the scrollleak branch August 30, 2024 17:49
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Aug 30, 2024
* [Fabric] Fix ScrollViewComponentView object leak

* Change files

* fix

* fix

* Update CompositionEventHandler.cpp

* fix
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Aug 30, 2024
* [Fabric] Fix ScrollViewComponentView object leak

* Change files

* fix

* fix

* Update CompositionEventHandler.cpp

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants