Skip to content

Menu First Render failure on React Native Windows #3793

@acaininet

Description

@acaininet

Current behaviour

In the video below, running on react-native-windows (.71), on attempting to open menu the first time after load, the menu is rendered in an improper location and with no menu items.

If able to dismiss the initially rendered menu, then touch the anchor element again, the menu renders properly the second time with menu items rendered properly as well.

2023-03-30.16-01-02.mp4

Expected behaviour

On first render, setting show attribute to true, menu should render fully, properly positioned with menu items.

How to reproduce?

Create new react native project with react native windows and implement simple menu.
https://github.com/acaininet/RNWPaperMenu0323

Preview

Video attached above.

What have you tried so far?

Various manipulation of containing elements, all the way down to most elemental (current version of code, with only as container. Various types of anchors, from more complex, including clickableopacity, down to Paper Button.

Your Environment

software version
+-- @babel/[email protected]
+-- @babel/[email protected]
+-- @babel/[email protected]
+-- @react-native-community/[email protected]
+-- @tsconfig/[email protected]
+-- @types/[email protected]
+-- @types/[email protected]
+-- @types/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

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