-
Notifications
You must be signed in to change notification settings - Fork 47
Support flex gap css property? #67
-
I wish the gap property for flex containers could be supported! Although I just found out about :not(:last-child)
which seems pretty cool!
Beta Was this translation helpful? Give feedback.
All reactions
-
😄 1
Replies: 1 comment 2 replies
-
It is already supported in all platforms except WebGL and IOS. This is a recent addition.
Beta Was this translation helpful? Give feedback.
All reactions
-
Do you plan to support WebGL in the future?
Beta Was this translation helpful? Give feedback.
All reactions
-
ReactUnity uses Yoga library for flexbox layout calculations (including flex gaps). This library is a dynamic library. The thing is, Unity engine itself already includes this library (Because it also uses Yoga in UIElements). And the version they use is an old one which does not support gap property. For this reason, it is very hard for me to add this functionality to these platforms. It would be only possible if Unity implemented this property.
Beta Was this translation helpful? Give feedback.