Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support flex gap css property? #67

lincolnnguyen18 started this conversation in Ideas
Discussion options

image

I wish the gap property for flex containers could be supported! Although I just found out about :not(:last-child) which seems pretty cool!

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

It is already supported in all platforms except WebGL and IOS. This is a recent addition.

You must be logged in to vote
2 replies
Comment options

Do you plan to support WebGL in the future?

Comment options

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /