# Msg replayed in UI node after a tab switch

**URL:** <https://discourse.nodered.org/t/msg-replayed-in-ui-node-after-a-tab-switch/25032>\
**Category:** Developing Nodes\
**Created:** [17 April 2020 20:03 UTC](https://discourse.nodered.org/t/msg-replayed-in-ui-node-after-a-tab-switch/25032 "2020-04-17T20:03:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [1 May 2020 07:16 UTC](https://discourse.nodered.org/t/msg-replayed-in-ui-node-after-a-tab-switch/25032/4 "2020-05-01T07:16:09Z")

</div>

I have the impression that this is caused pure on the client-side.

1. I click on a shape in the SVG node, and the contextmenu appears. Indeed now I arrive on all my breakpoints (in the dashboard's ui.js file) on the server side, and the message is not added to the replayMessage array. So the _ **persistantFrontEndValue** _ parameter seems to do the job well.

2. I switch to another dashboard tabsheet

3. I switch back to the original tabsheet where my svg & contextmenu is located. At that moment I indeed get again a message on the client:

But I didn't arrive on my server-side breakpoints. So it seems that somehow the client replays the messages. I have installed today the dashboard from source code, because I hoped to be able to debug the main.js file. But from the call stack (see above screenshot) I only see minified stuff 🥴

Does anybody have a clue how I could try to find the root cause?  
Because I'm stuck at the moment ...

---

_[View the full topic](https://discourse.nodered.org/t/msg-replayed-in-ui-node-after-a-tab-switch/25032)._
