svelte-native icon indicating copy to clipboard operation
svelte-native copied to clipboard

flexboxLayout inside listView inside gridLayout sometimes ignores flexGrow

Open notpushkin opened this issue 6 years ago • 2 comments

REPL

At first, it ignores flexGrow, but if you click Preview (maybe a couple times), forcing it to recompile, it renders alright:

I'm not yet sure it's not an issue with NativeScript itself but I couldn't reproduce it with NS + JavaScript. Seems super weird to me :o

Also there doesn't seem to be any problems with just flexboxLayout inside listView, only when all three are in place it breaks. I haven't tested other combinations yet though.

notpushkin avatar Mar 25 '20 01:03 notpushkin

It might be a weird cache with nativescript preview? I tried the repl (android) and apart from having to change the svelte version in the url to 3.24.1, it worked first go (I get the image on the right)

Does it still fail if you run it using ns run android locally?

halfnelson avatar Nov 01 '20 09:11 halfnelson

I'll give it a try a bit later this week. IIRC back then I was running a similar layout (which I broke down to this minimal reproduction) with ns run android, with the same result.

notpushkin avatar Nov 11 '20 13:11 notpushkin