Skip to content

Commit e639070

Browse files
Nick Lefeverfacebook-github-bot
authored andcommitted
Fix scroll view FPS listener reset on init (#53838)
Summary: Pull Request resolved: #53838 The FPS listener is being assigned to all scroll view instances by the scroll view manager. This listener should not be reset when the view is being recycled and should stay assigned at all times. Changelog: [Internal] Reviewed By: javache Differential Revision: D82720151 fbshipit-source-id: a2a37bad93efaa6e435725adf16c9ad1b4207ba0
1 parent aacb989 commit e639070

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ private void initView() {
166166
mRemoveClippedSubviews = false;
167167
mScrollEnabled = true;
168168
mSendMomentumEvents = false;
169-
mFpsListener = null;
170169
mScrollPerfTag = null;
171170
mEndBackground = null;
172171
mEndFillColor = Color.TRANSPARENT;

0 commit comments

Comments
 (0)