For some reason, my app keeps opening new browser tabs without me making any changes to the code. Did anyone else experience this? I am running in WSL2 (Windows subsystem for Linux).
I would appreciate any hints on how to troubleshoot this. I never experienced this before.
That happens in debug mode and also when serving the app with waitress.
It is pretty distracting.
I’m having the same issue. I have a line in my init function to start the app in my browser, which should only open one instance of the app. It will remain stable for a bit, but when I click to another browser tab, it will start rapidly opening new tabs with my plotly dash app. It’s intermittent and very disruptive.
Here is a code snippet:
class dashboard(Dash):
""" Class Wrapper for main GUI """
def __init__(self,*args, **kwargs):
Dash.__init__(self, *args, **kwargs)
#%% APP SETUP
host = socket.gethostbyname(socket.gethostname())
os.startfile('http://'+host+':8080')
self.layout = html.Div([
I’m running windows 10 64 bit OS, using Spyder 5.03 as my IDE and Firefox as my browser.