This repository has been archived by the owner on May 1, 2024. It is now read-only.
Replies: 2 comments 2 replies
-
If you create a style setting this property to false, does that work? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Well maybe I am doing something wrong but the below style will not let the app compile. Error XFC0001 Cannot resolve property "IsLightDismissEnabled" on type "Popup (property missing or missing accessors)".
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the MVVM model in my Xamarin.Forms application and I have been using the Acr.UserDialogs. But since they are now in permanent lockdown, I thought I would replace them with XCT Popups. This has actually worked pretty good as most of my dialogs are called from within the viiewmodels thru my DialogService. I can send in data or get data back as I need. The only issue I have ran into is that there are times when I want the popup to be modal and light dismiss disabled. I have tried everything I know even hard setting IsLightDismissEnabled=false in the Popup XAML header. But I can click outside the popup and it just closes. I know that I can handle the light dismiss event but I truly did not want the popup to close without the user clicking the button on the popup. All my viewmodels inherit from a viewmodel base class that has a INavigation property. So when ever the ViewModel is created in the page's constructor for the BindingContext the page Navigation object is assigned and then passed thru to the DialogService for use to show the popups.
Has anyone else ran into this issue using the Popups from the ViewModels?
Beta Was this translation helpful? Give feedback.
All reactions