Change use of nativeId to collapsable (#39047)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39047

changelog: [internal]

nativeID was used to fix broken behaviour of collapsable. Now, collapsable is fixed, let's remove that.

Reviewed By: rozele

Differential Revision: D48349235

fbshipit-source-id: a0a74ea2cf69adbc5065a0731ac4059712068e6f
This commit is contained in:
Samuel Susla
2023-08-21 08:01:10 -07:00
committed by Facebook GitHub Bot
parent a66ebc5d97
commit 910a9567f4
@@ -1700,7 +1700,6 @@ class ScrollView extends React.Component<Props, State> {
return (
<StickyHeaderComponent
key={key}
nativeID={'StickyHeader-' + key} /* TODO: T68258846. */
ref={ref => this._setStickyHeaderRef(key, ref)}
nextHeaderLayoutY={this._headerLayoutYs.get(
this._getKeyForIndex(nextIndex, childArray),