Skip to content

Remove all uses of findNodeHandle #4183

Open

Description

@kmelmon

tags aren't supported by Fabric. The main function that deals with tags is findNodeHandle(). Facebook is replacing all tags with instances. We need to do the same in our overrides.

There are multiple places we're doing this:
Libraries\Components\Flyout\Flyout.windows.tsx:42: const newtarget: number | null = findNodeHandle(nextProps.target as
Libraries\Components\Popup\Popup.windows.tsx:42: const newTarget: number | null = findNodeHandle(nextProps.target as
Libraries\Components\ScrollView\ScrollView.windows.js:752: return ReactNative.findNodeHandle(this._scrollViewRef);
Libraries\Components\ScrollView\ScrollView.windows.js:756: return ReactNative.findNodeHandle(this._innerViewRef);
Libraries\Components\TextInput\TextInput.windows.js:825: ReactNative.findNodeHandle(this._inputRef)
Libraries\Components\TextInput\TextInput.windows.js:837: const tag = ReactNative.findNodeHandle(this._inputRef);
Libraries\Components\TextInput\TextInput.windows.js:853: const tag = ReactNative.findNodeHandle(this._inputRef);
Libraries\Lists\VirtualizedList.windows.js:444: return ReactNative.findNodeHandle(this._scrollRef);

Activity

  1. ghost added
    Needs: Triage 🔍
    on Feb 25, 2020
  2. added
    Area: Fabric
    on Feb 25, 2020
  3. removed
    Needs: Triage 🔍
    on Feb 27, 2020
  4. ghost added
    Invalid Triage
    on Sep 16, 2020
  5. added and removed
    Invalid Triage
    on Sep 25, 2020
  6. added
    New Architecture
    on Mar 7, 2024
  7. added
    Workstream: Component Parity
    on Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FabricCode CleanupNew ArchitectureWorkstream: Component Parityenhancement

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions