because directory switching only switches out items. items keep being highlighted (from focus state) after switching.
Which package/app is affected (leave empty if unsure)
@neato/guider
Link to the code that reproduces this issue
No response
Steps to reproduce
make two directories in a site. give them each a few links
make window small to see mobile view
click on a sidebar item
focus state persists because it has the same component key (index based)
Expected Behavior
focus state should be removed, caused by rerender
Extra details
this is because the component key is only the index. it should also use the to parameter and the item type. Should be fixed on every navigation list (sidebar, dropdown, topnav)
Describe the bug
because directory switching only switches out items. items keep being highlighted (from focus state) after switching.
Which package/app is affected (leave empty if unsure)
@neato/guider
Link to the code that reproduces this issue
No response
Steps to reproduce
Expected Behavior
focus state should be removed, caused by rerender
Extra details
this is because the component key is only the index. it should also use the
to
parameter and the item type. Should be fixed on every navigation list (sidebar, dropdown, topnav)