Weird annoying things to know about Nativescript - tremho/thunderbolt-common GitHub Wiki

Nativescript is inconsistent for iOS vs. Android

or "What I learned when doing the title bar flex"

When doing the title bar responsive work, I found some things out.

For starters, you can't set the grid definitions in CSS the way you can on web. The way I adjust the toolbar on web is to change the grid definition to shrink the cell width for that flex component.

But you can't do that in {N}, so I thought about putting the flex within a horz stack layout and adjusting that with CSS. This works for Android, but I get no display when I do that on iOS. Furthermore, changing the column declaration from AUTO to PIXEL also gives me no display on iOS (but works on Android)

What I did find is that leaving it at AUTO and setting the flex box width itself works (as I guess one would expect - why didn't I start with that?) but of course it doesn't auto grow like we want, so I only do this for IOS where it is needed.