Widget stylesheets are not removed when widget is removed #480

Closed
opened 2026-02-20 10:17:57 -05:00 by deekerman · 0 comments
Owner

Originally created by @robartsd on GitHub (Jan 28, 2022).

Widget stylesheets are currently only removed (and replaced if needed) when the widget's css is changed. The widget stylesheet remains if the widget gets deleted (or even if a new state gets loaded). If the stylesheet uses the , hack to address other elements, those styles continue to be applied after a new game is loaded (but only for clients that have stayed connected to the room since the widget with the stylesheet was present).

Originally created by @robartsd on GitHub (Jan 28, 2022). Widget stylesheets are currently only removed (and replaced if needed) when the widget's css is changed. The widget stylesheet remains if the widget gets deleted (or even if a new state gets loaded). If the stylesheet uses the `,` hack to address other elements, those styles continue to be applied after a new game is loaded (but only for clients that have stayed connected to the room since the widget with the stylesheet was present).
deekerman 2026-02-20 10:17:57 -05:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/virtualtabletop#480
No description provided.