Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
85 stars 9 forks source link

NavigationMenu working even if closed #165

Closed adearriba closed 1 year ago

adearriba commented 1 year ago

Describe the bug

The navigation menu component inside IOS POS app (even when closed) seems to be active. If a use clicks on the position of an option, it opens that link.

To Reproduce

  1. Add NavigationMenu component with links
  2. Run your app embedded in IOS (iPhone or iPad) POS app
  3. Tap where the navigation links would be if the menu is displayed
  4. Navigation will start as if the menu was opened

Here is the navigationmenu component opened:. Links work correctly:

NavigationMenu component opened

Even when the menu is closed, the space where the links would be if opened, still navigates you if you tap:

NavigationMenu component opened

Expected behaviour

Contextual information

Packages and versions

@shopify/app-bridge-react: ^3.4.3,
@shopify/polaris: ^10.12.0

Platform

Additional context

Using Vite to build client side code.