mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add todo notes for nativeID hack
Summary: Changelog: [internal] Reviewed By: JoshuaGross Differential Revision: D23003735 fbshipit-source-id: 7814de9e1d280604842e47a969ab3e8d453c50a8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8724a24bf5
commit
8fc8cd9aea
@@ -223,7 +223,9 @@ function createAnimatedComponent<Props: {+[string]: mixed, ...}, Instance>(
|
||||
{...passthruProps}
|
||||
style={mergedStyle}
|
||||
ref={this._setComponentRef}
|
||||
nativeID={this._isFabric() ? 'animatedComponent' : undefined}
|
||||
nativeID={
|
||||
this._isFabric() ? 'animatedComponent' : undefined
|
||||
} /* TODO: T68258846. */
|
||||
// The native driver updates views directly through the UI thread so we
|
||||
// have to make sure the view doesn't get optimized away because it cannot
|
||||
// go through the NativeViewHierarchyManager since it operates on the shadow
|
||||
|
||||
@@ -1078,7 +1078,7 @@ class ScrollView extends React.Component<Props, State> {
|
||||
return (
|
||||
<StickyHeaderComponent
|
||||
key={key}
|
||||
nativeID={'StickyHeader-' + key}
|
||||
nativeID={'StickyHeader-' + key} /* TODO: T68258846. */
|
||||
ref={ref => this._setStickyHeaderRef(key, ref)}
|
||||
nextHeaderLayoutY={this._headerLayoutYs.get(
|
||||
this._getKeyForIndex(nextIndex, childArray),
|
||||
|
||||
@@ -56,7 +56,7 @@ class InspectorOverlay extends React.Component<Props> {
|
||||
<View
|
||||
onStartShouldSetResponder={this.shouldSetResponser}
|
||||
onResponderMove={this.findViewForTouchEvent}
|
||||
nativeID="inspectorOverlay"
|
||||
nativeID="inspectorOverlay" /* TODO: T68258846. */
|
||||
style={[styles.inspector, {height: Dimensions.get('window').height}]}>
|
||||
{content}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user