Mods table action dropdown closes on its own on resource load
Describe the bug
The dropdown for mod actions in the extension console closes by itself if you open it right after refreshing.
See: https://pixiebrix.slack.com/archives/C0436P48QHY/p1715633444678499
To Reproduce
See: https://www.loom.com/share/f638a468835044c095bcb598c6e3d7e5
Actual behavior
The dropdown if opened, will not close without user input.
Expected behavior
The dropdown if opened, will not close without user input.
Screenshots/Loom
See: https://www.loom.com/share/f638a468835044c095bcb598c6e3d7e5
Additional context
Related code pointers:
ListView https://github.com/pixiebrix/pixiebrix-extension/blob/78fe96dacffee27c9b9667eae10ebcd81c3ceab6/src/extensionConsole/pages/mods/listView/ListView.tsx#L30
ModsPageLayout https://github.com/pixiebrix/pixiebrix-extension/blob/563e7e48fc5766302aae715c9be8b04866366759/src/extensionConsole/pages/mods/ModsPageLayout.tsx#L130