#files-box becomes visible (with empty content) after switching from a
specific category back to 'All'. It seems like the widget gets allocated
in the layout but isn't properly hidden when empty.
Additionally, when searching, the #files-box border styling disappears
entirely, suggesting the widget may be getting destroyed and recreated
rather than simply shown/hidden. This might be related to why it appears
as a ghost element after the category switch (inconsistent widget
lifecycle management.)
Distro: Linux Sway Remix
nwg-drawer: v0.7.0
Steps to reproduce:
- Add a border to
#files-box in CSS
- Open the drawer
- Select a specific category
- Go back to "All"
- Scroll down > ghost
#files-box appears
- (Optional) Search for something > border disappears
Expected behavior:
#files-box should not be visible when empty

#files-boxbecomes visible (with empty content) after switching from aspecific category back to 'All'. It seems like the widget gets allocated
in the layout but isn't properly hidden when empty.
Additionally, when searching, the
#files-boxborder styling disappearsentirely, suggesting the widget may be getting destroyed and recreated
rather than simply shown/hidden. This might be related to why it appears
as a ghost element after the category switch (inconsistent widget
lifecycle management.)
Distro: Linux Sway Remix
nwg-drawer: v0.7.0
Steps to reproduce:
#files-boxin CSS#files-boxappearsExpected behavior:
#files-boxshould not be visible when empty