question

IgorKravchenko-7896 avatar image
0 Votes"
IgorKravchenko-7896 asked WenyanZhang-MSFT commented

[Bug] Some entries dissapear when I set IsVisible=true

I have added some entries to StackLayout with ScrollView. When I toggle switch on some views (entries and buttons) are not visible. Those views are not fit on the screen and will be invisible. Please help me to find a workaround.
Reported here
P. S. The tags on this forum are useless. I can't find any associated with XF tag. Any property from XF views! Are you seriously? 112277-untitled.png
112260-untitled.png

 <ScrollView>
             <StackLayout Spacing="3" Padding="15">
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
                 <Entry Placeholder="Default Text" FontSize="Medium" />
    
                 <Switch IsToggled="{Binding IsAdditionalContentVisible}"></Switch>
    
                 <Entry Placeholder="Additional Entry" FontSize="Medium" IsVisible="{Binding IsAdditionalContentVisible}"/>
                 <Entry Placeholder="Additional Entry" FontSize="Medium" IsVisible="{Binding IsAdditionalContentVisible}"/>
                 <Entry Placeholder="Additional Entry" FontSize="Medium" IsVisible="{Binding IsAdditionalContentVisible}"/>
                 <Entry Placeholder="Additional Entry" FontSize="Medium" IsVisible="{Binding IsAdditionalContentVisible}"/>
    
                 <Entry Placeholder="Text" FontSize="Medium" />
                 <!--Some of these entries will be invisible-->
                 <Entry Placeholder="Text" FontSize="Medium" />
                 <Entry Placeholder="Text" FontSize="Medium" />
                 <Entry Placeholder="Text" FontSize="Medium" />
                    
                 <StackLayout Orientation="Horizontal">
                     <Button Text="Cancel" Command="{Binding CancelCommand}" HorizontalOptions="FillAndExpand"></Button>
                     <Button Text="Save" Command="{Binding SaveCommand}" HorizontalOptions="FillAndExpand"></Button>
                 </StackLayout>
             </StackLayout>
         </ScrollView>


112266-screenshot-20210706-210920.jpg
112292-screenshot-20210706-210931.jpg
112267-screenshot-20210706-210936.jpg


dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for reporting this issue, you can continue to follow the progress on github. I'm afraid this is caused by Android soft keyboard.

0 Votes 0 ·

0 Answers