I am trying to create an onboarding Screen with a very simple layout, a header with a question and its description, a group in which I have the possible answers, and a “next” button.
I put everything within a “content” group and I select "space between as the container alignement.
Everything is behaving fine within the editor, but as soon as I preview the app (BubbleGo or web), the whole layout is broken.
I had this issue as well. Basically, it is because of the view type you are using. For the layout you have to work as intended, the view type has to be set to “not scrollable” and this will work.
Thanks for the solution. Tbh I don’t really understand why it actually solves the issue.
As I really want to master the mobile editor I’ll be more than happy if you could explain what’s happening and why switching to “not scrollable” is a solution.
Its because a scrollable view can be infinitely long, but space between requires knowing the bounds of the container in order to calculate space between. This is one of those flexbox settings that react native does not handle well - so something we should probably remove as a setting in certain situations to be honest.