Refresh doesn't work after interacting with the plot

Hello,
I embedded a panel in my website using an iframe.
Everything is fine and I get real-time updates when new data is generated.
Then, if I click on the plot (in my case a graph) to select a specific time interval I lose the synch: if new data is produced the graph is not updated anymore.

Additionally, I noticed that the same happens in the grafana UI: if I select a time interval, the URL gets updated and I lose the refresh interval I previously set using provisioning (5s is not selected anymore in the image below).

Do you know any solution to that?
Thanks