Skip to content

Commit

Permalink
fix: error on pressing back from collection page on Android (#9651)
Browse files Browse the repository at this point in the history
pass ref to fix crash on deregister on android
  • Loading branch information
brainbicycle authored and araujobarret committed Dec 12, 2023
1 parent 860fda9 commit bc9f327
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/Components/ParentAwareScrollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class ParentAwareScrollView extends React.PureComponent<ScrollViewProps, State>
if (this.isNestedInAVirtualizedListWithSameOrientation()) {
this.context.unregisterAsNestedChild({
key: this.state.key,
ref: this,
state: null,
})
}
Expand Down

0 comments on commit bc9f327

Please sign in to comment.