pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Mods table action dropdown closes on its own on resource load

Open fungairino opened this issue 1 year ago • 8 comments

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

fungairino avatar May 13 '24 21:05 fungairino