Skip to content

Need to support firing touch and keyboard events for Video when it is full screen #4157

Open

Description

@ddalp

This issue needs to be sovled in order to support react-native-video community module fully.
Issue is when MPE is in full screen mode, it is moved from its original place in the tree to under FullWindowMediaRoot. Since RNW relies on listening PreviewKeyEvent and TouchEvent on the react root element, it is no longer be able to get the events once MPE is in full window. There are similar issues for Popup and Flyout, we solved it by listening to these events directly on the element. We should do the same for MPE, with a bit more caution that events should be ignored when MPE is not in full screen mode to avoid firing events twice.

Activity

  1. ghost added
    Needs: Triage 🔍
    on Feb 20, 2020
  2. added
    Extensions
    and removed
    Needs: Triage 🔍
    on Feb 20, 2020
  3. ddalp commented on Mar 13, 2020

    @ddalp
    ContributorAuthor

    Proposal:

    • Add optional parameters to CreatView interface between RNW and native module, hookup pointer and keyboard event listeners to the view instance if flag returns true.
    • Add view object into a global table of ignored objects, and ignore firing keyboard and pointer events for those objects in the global event handler registered on the root object.
  4. removed their assignment
    on Mar 13, 2020
  5. 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: KeyboardExtensionsWorkstream: Component Parityenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions