Skip to content

findNodeHandle(...): Unable to find node handle for unmounted component. #16864

@tinyfight

Description

@tinyfight

Use ViewPagerAndroid in project
file : react-native/Libraries/Components/ViewPager/ViewPagerAndroid.android.js

error:

setPageWithoutAnimation = (selectedPage: number) => {
UIManager.dispatchViewManagerCommand(
ReactNative.findNodeHandle(this), //this line cause crash
UIManager.AndroidViewPager.Commands.setPageWithoutAnimation,
[selectedPage],
);
};

ReactNative.findNodeHandle(this) report an error message : findNodeHandle(...): Unable to find node handle for unmounted component.

note : I use two React-native project in Android app .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions