Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Invisible & disabled ContentView blocks inputs on iOS

$
0
0

Hi,

I use this ContentView to display feedback to the user

    <ContentView IsVisible="{Binding IsFeedBackVisible}" IsEnabled="{Binding IsFeedBackVisible}"
                 BindingContext="{Binding Feedback}"
                 BackgroundColor="{Binding Color}"
                 AbsoluteLayout.LayoutFlags="PositionProportional, WidthProportional"
                 AbsoluteLayout.LayoutBounds="0,0,1,40">
        <StackLayout Orientation="Horizontal"
                     VerticalOptions="Center"
                     Padding="8,0">
            <Label Text="{Binding Message}"
                   TextColor="White"/>
        </StackLayout>
    </ContentView>

The feedback is only displayed for a short period before the contentview goes back to being invisible and disabled.
But even in this state it still catches input on iOS. How can I bypass it ?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>