node-red-dashboard
node-red-dashboard copied to clipboard
Inclusion of a zero sized template node in a group alters its size.
Current Behavior
Initially found this bug when constructing a sub flow with a gauge and a template node. White space appeared above the gauge when displayed on the dashboard. Removing the template node removed the whitespace. The template node size was set to width 0 and height 0. The same behaviour was observed when the gauge and template nodes were removed from the subflow and placed in a flow (although in this case the white space was below the gauge). The template node size is set to auto as zero size is not an available option. This behaviour is observed even when the template node is empty, with no code in it.
Expected Behavior
Inclusion of a zero sized template node in a group should not alter its size.
Steps To Reproduce
Environment
- Dashboard version: 1.13.0
- Node-RED version: 4.0.0.
- Node.js version: v18.20.3
- npm version: 10.7.0
- Platform/OS: Raspberry Pi Debian version: 12 (bookworm)
- Browser: Safari and Chrome
Have you provided an initial effort estimate for this issue?
I am not a FlowFuse team member