`@forge/bridge/showFlag` has unacceptable delay in Jira

Observed showFlag calls taking over 6 seconds to show the toast on Jira.

hi, @scottjackson thanks for reporting this.

As we are not quite able to reproduce the exact issue currently (we tested it with jira:globalPage module, and it works fine), would be best if you could provide more details to help us resolve the issue.

  1. what’s module type of the app having the issue?
  2. is the same issue happening if you try on different module type or different product (e.g. confluence)
  3. if you could share some simple code sample for us to try reproduce would be amazing.

Thanks so much.

Hi @SolomanWeng @scottjackson

We are having same issue on Admin page, Custom UI.

When user discarding forwarding to external url (by forgeRouter navigate), I added catch and show flag inside.

While catch console.log shown immediately, showFlag shown differently from time to time - can be immediately, or can be 3-4 seconds later.

Hope this can help to reproduce.

Best Regards,

Oleh

Worth asking what version are you currently on or if you’re using the latest version. If not on latest, you want to upgrade it.