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
flex:1 has to do with the view itself. display:flex has to do with its children. Though I find it odd that this change was necessary. passing styles into the ColorWheel component's style attribute, passing display:flex there would have worked without editing the library internally.
Have you noticed your change causing any issues when the component isnt in a flex container?
If I create a ColorWheel component as a child of a flexbox View component, like so:
the color wheel's height and width are set to zero -- only the thumb slider remains visible:
By changing line 224 of
ColorWheel.js
fromflex: 1,
todisplay: flex,
, the color wheel is properly sized and positioned in the flexbox:Let me know if this change fixes any issues or if I'm using the component wrong. Thanks in advance!
The text was updated successfully, but these errors were encountered: