Deleting Backup also selects it
What happened?
When deleting a backup it also gets selected resulting in showing this page

Steps to reproduce
- create server
- create backup
- delete backup
Expected behavior Don't select the deleted backup, so keep showing the list of all other backups
Versions Extension version: 1.1.1 Pterodactyl Panel: 2.0.0-beta.4 Wings: 1.13.6 PHP: 8.5.13
1 reply
Fixed in Backups+ v1.1.2!
Dialog.Confirmwas rendered insideListRow, so React Portal synthetic click events inside the confirmation dialog bubbled up toListRow'sonClickhandler and opened/selected the backup right as it was being deleted.Moving
Dialog.ConfirmoutsideListRowresolves the race completely (verified with a new regression test inBackupsTab.spec.tsx).
Want to join the conversation? Sign in with Google or GitHub to take part — it takes one click.
Continue with