AppBridge 4 NavMenu Highlighting wrong page

Hello

We are trying to apply for BFS and one of the issues that was highlighted was that the NavMenu component does not seem to highlight the correct page which is loaded in the iFrame, as shown in the screenshot https://screenshot.click/28-55-hp80z-v0eew.png

However we are unable to reproduce it and seems like a bug in NavMenu item which seems to happen when clicking on the pages too quickly, someone has reported a similar issue (not exactly the same) Delayed focus of the current page on the side navigation menu when moving trough the pages · Issue #442 · Shopify/shopify-app-bridge · GitHub wherein there is a delay in highlighting the correct item,

Is there any way to get in touch with BFS review team as there is no way for us to reply to the feedback email

1 Like

Hi @Kets_Patel,

Do you have a link on the ‘Fulfillment Rules’ that goes to the ‘Plans’ page? If so, can you reproduce the issue by clicking on that link within the Fulfillment rules page?

We had a similar issue where just selecting the pages from the side menu worked well, but if you where in one page in the submenu, and you clicked to a page that appeared in a different submenu, the highlight on the submenu didn’t update.

Best,
Daniel

1 Like

Ah! thanks for the response, that does seems to be the case, I guess We would need navigate using some AppBridge method

1 Like

@Daniel_Ablestar thanks if we use normal <a href="/plans… I guess AppBridge 4 is doing some monkey patching

1 Like