You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure this isn't how you'd like to ideally handle this, but I'm using this project within react-storybook and noticed that when I resize the window, the component constantly resizes.
I don't know if this is due to margins/padding calculation or what.
Basically, the usage I'm going for is waiting for width/height calculation for the initial render of the component, then not worrying about the resize event at all anymore. (i.e. the size is only necessary for initial rendering of the layout)
The text was updated successfully, but these errors were encountered:
I'm sure this isn't how you'd like to ideally handle this, but I'm using this project within
react-storybook
and noticed that when I resize the window, the component constantly resizes.I don't know if this is due to margins/padding calculation or what.
Basically, the usage I'm going for is waiting for width/height calculation for the initial render of the component, then not worrying about the resize event at all anymore. (i.e. the
size
is only necessary for initial rendering of the layout)The text was updated successfully, but these errors were encountered: