BEX:when send message from background to Quasar App, the relative event was triggered not once but many times #14778
Labels
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
mode/bex
Qv2 🔝
Quasar v2 issues
What happened?
I followed this instruction to check the communication from background script to Quasar App
[Background Script | Quasar Framework](https://quasar.dev/quasar-cli-vite/developing-browser-extensions/background-script)
background.ts
Quasar App (as iframe form to show on common web page)
then I run these code, I found the event
bex.tab.opened
which should be triggered only once was triggered many times when I opened a new tab.What did you expect to happen?
only be triggered once.
Reproduction URL
https://stackblitz.com/edit/quasarframework-vfcnwa
How to reproduce?
.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
BEX Mode
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: