DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.74k stars 1.43k forks source link

Animation replays when clicking on an selected option #1338

Open Han0HanZero opened 1 month ago

Han0HanZero commented 1 month ago

Current behavior

When clicking on the selected option in the left list, the page will be refreshed and the animation will be replayed.

How to reproduce it (as minimally and precisely as possible)

Just click an option twice.

Expected behavior

The animation should not be replayed. It worked perfect in v1.

Screenshots

No response

Workaround

No response

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

version 2.0-preview.4; Windows 11 23H2 22631.3880

Relevant Assets/Logs

No response

veler commented 1 month ago

Note to myself: this is a symptom of the fact that we re-navigate to the tool that is already displayed.