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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The type and value system doesn't allow widths or heights passed in as
100%
, which is useful for resizing the SVG viewing component.You can force it, and it works well, but it results in a warning / error being logged to the console, which is not great.
There are other approaches, but they involve re-renders, and I really want to just use CSS for this instead of full React state.
Beta Was this translation helpful? Give feedback.
All reactions