Open aljaz00 opened 5 years ago
Can you please provide a code example to reproduce this issue?
<template>
<ModalStack>
<GridLayout rows="auto, *, auto" columns="*">
<StackLayout row="0" background="red">
<Label
text="Lorem ipsum dolor, sit amet consectetur adipisicing elit. Itaque vel dolores consequatur beatae reiciendis veniam corporis vitae. Qui aperiam veniam labore fugit autem fugiat deserunt dolorum quidem eius, esse reprehenderit!"
textWrap="true"
color="white"
/>
</StackLayout>
<StackLayout row="1" background="blue"> </StackLayout>
<StackLayout row="2" background="green">
<Label
text="Lorem ipsum dolor, sit amet consectetur adipisicing elit. Itaque vel dolores consequatur beatae reiciendis veniam corporis vitae. Qui aperiam veniam labore fugit autem fugiat deserunt dolorum quidem eius, esse reprehenderit!"
textWrap="true"
color="white"
/>
</StackLayout>
</GridLayout>
</ModalStack>
</template>
As you can see the text is chopped at the top and at the bottom.
Thanks for help!
Try running tns plugin remove nativescript-windowed-modal && tns plugin add nativescript-windowed-modal@next
and see if the problem is fixed.
Hey, you fixed that problem but create a new one. Now when using a non-fullscreen modal, you can't set the position of the modal, so modal is always in the middle. Of course for android only, IOS is working as expected.
I saw your fix and think a bit about how to solve this new problem:
currentHeight - navbarHeight
Thanks for solving this problem!
Same for me 👆on Android.
cc @aljaz00 @mukaschultze
I can confirm this as well.
I'm using
nativescript-windowed-modal@6.0.0
and NS6.Thanks for helping me out.