Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent clicking "Out of popup" #748

Open
ablohme86 opened this issue Nov 16, 2022 · 1 comment
Open

Prevent clicking "Out of popup" #748

ablohme86 opened this issue Nov 16, 2022 · 1 comment

Comments

@ablohme86
Copy link

馃殌 Feature Requests

Is there a way to prevent the user from clicking outside the popup so it doesnt close?

Contextualize the feature

Describe the feature

Platforms affected (mark all that apply)

  • [X ] 馃摫 iOS
  • [ X] 馃 Android
  • [ NA] 馃弫 WPF
  • [ NA] 馃寧 UWP
  • [ NA] 馃崕 MacOS
  • [ NA] 馃摵 tvOS
  • [ NA] 馃悞 Xamarin.Forms
@FaroukBel
Copy link

Yes, there is a feature called CloseWhenBackgroundIsClicked you can implement it in your XAML code like this:

<pages:PopupPage xmlns:pages="http://rotorgames.com" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" CloseWhenBackgroundIsClicked="False"> </pages:PopupPage>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants