Open Moocowmike opened 1 year ago
Hmph, I'm not able to reproduce this in plain plotly.js, but we've definitely seen situations where rendering is attempted before the font has loaded, so we measure the size of the text for a fallback font, then the size is wrong once the right font loads. Might need to investigate font loading detection again...
When initially rendering the component, when set to orientation "h", the legend entries do not adjust their size correctly based on the font size set in the layout.
Example:
` export const Test = (): ReactElement => {
} `![image](https://user-images.githubusercontent.com/62857456/219375911-56d43a9e-b5d6-4bfe-9c76-3060f9e9ac1f.png)
If I adjust the font size property of the layout object after the initial render, it corrects itself.
Any guidance or help would be greatly appreciated.