Skip to content

Clicking settings multiple times pushes too much history #5

@Lemmmy

Description

@Lemmmy

This is probably true for other links (e.g. the sidebar) too; currently clicking the settings icon multiple times will push an item to the history stack for each click, which means that you have to click the browser back button (or the page header back button) n times to get back to where you were. There seems to be a lot of different ways to solve this issue, most of them revolving around disabling the link when you're already on that route (see <NavLink>). Further reading: remix-run/react-router#5362

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions