The Dato main interface modifies its root font size (14.4px, 15px, 16px) at different breakpoints, however plugin iframes are always set to 16px. This causes plugin UI to often appear out of sync (larger) compared to similar elements in the native UI. This cannot be robustly addressed within the plugin.
The SDK should set the prevailing native interface root font size on the iframe documentElement, and update it with breakpoints.
Just adding to this bug report with a further behaviour I noticed.
When resizing a record editor across 1024px, all plugin iframes reload.
Crossing (max-width: 1024px) switches the editor layout and relocates its portal container. This temporarily removes the plugin iframe subtree from the document. Chrome reports frameDetached with reason remove, followed by new frames being attached.
This creates a minor disruption during a breakpoint change. Thatโs not a common occurrence for editors anyway, so this is a really minor point.
I thought it is only worth mentioning as it feels related to the same issue as the font-size not being updated through to the plugin surface during breakpoint changes.