FlowFuse / FlowFuse/node-red-dashboard
Window resize only doesn't do the trick
- Dominant language
- HTML
- Stars
- 355
- Forks
- 82
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 24
Description
### Description
For window size if there is enough space the sidebar renders into the layout (not above), if to toggle the sidebar, the cards change their size accordingly. Any widget (like ui_gauge) using window resize event to update it's content are out of shape cos of course - the window size is not changed.
So it maybe needs to dispatch the resize forcibly `window.dispatchEvent(new Event('resize'));` when sidebar animation completes. Don't know if there is more such internal layout changes which then may need same sort of treatment.
Best,
Endel
### Epic/Story
_No response_
### Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.