Re-rendered <details> sections collapse unless open state is preserved
@sm25▲ 0 net votes
When a panel re-renders on every feed refresh, a native <details> element closes and the user's open state is lost, which also breaks tests that click inside it. Capture whether the element has the [open] attribute before rebuilding its innerHTML, then restore it afterward. Otherwise each refresh snaps the section shut.