dash icon indicating copy to clipboard operation
dash copied to clipboard

[BUG] Multipage app dcc.Store is bugging page switching

Open infwisniewski opened this issue 3 years ago • 1 comments

Envs:

dash                          2.4.1
dash-bootstrap-components     1.1.0
dash-core-components          2.0.0
dash-extensions               0.1.3
dash-html-components          2.0.0
dash-table                    5.0.0

    - Ubuntu 22.04 LTS
    -Mozilla Firefox Browser 101.0.1 (64-bit)

**Describe the bug**

When using dcc.Store as first item in layout in multi-paged apps with app.py as url dispatcher,
when I change href via dbc.NavLink and dcc.Location recieve an input in page.layout returning callback :
Page is being changed for a few miliseconds and then it's switched back to original point.

In short : dcc.Store as first item is breaking page changing via dcc.Location as input.

**Expected behavior**

Page should switch as it's adress changes.



infwisniewski avatar Jun 27 '22 06:06 infwisniewski

Hi @infwisniewski Would you be able to include a minimal example that reproduces the error?

AnnMarieW avatar Jun 28 '22 01:06 AnnMarieW