Skip to content

Use BackHandler in Modal at tvOS #14636

@redak105

Description

@redak105

Hi,
I try to use BackHandler by tutorial at tvOS. I want to catch press at menu on remote in Modal view.
But, when I show Modal, Modal view stop to listen AppleTV remote events. It stops to sending any RCTTVNavigationEventNotification. I was only particularly successful with transparent modal view. But it didn't work at some designs, mostly connected with flex style.
I want to update my state of my parent ,to let him know, that Modal was closed. Basically set state, which showing this Modal to false.

I am using react native 0.45.1 with npm 5.03.

Can you give me a hint how to do it or fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions