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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell.Current.FlyoutIsPresented = true still does not toggle the first time on Android #20549

Closed
criss02-cs opened this issue Feb 13, 2024 · 3 comments
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 t/bug Something isn't working

Comments

@criss02-cs
Copy link

Description

Toggle Shell.Current.FlyoutIsPresented doesn't open Flyout on first time. I have to open manually

Steps to Reproduce

  1. Clone the project
  2. Run ObsidianUI.Examples on Android
  3. Try to click Try out

Link to public reproduction project repository

https://github.com/criss02-cs/ObsidianUI

Version with bug

8.0.6

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

if (Shell.Current.FlyoutIsPresented)
{
    Shell.Current.FlyoutIsPresented = false;
}
else
{
    Shell.Current.FlyoutBehavior = FlyoutBehavior.Locked;
    Shell.Current.FlyoutBehavior = FlyoutBehavior.Flyout;
    Shell.Current.FlyoutIsPresented = true;
}

For now I found this workaround, but it's not possible to do this everytime

Relevant log output

No response

@criss02-cs criss02-cs added the t/bug Something isn't working label Feb 13, 2024
@jsuarezruiz jsuarezruiz added platform/android 🤖 area-controls-shell Shell Navigation, Routes, Tabs, Flyout labels Feb 13, 2024
@PureWeen
Copy link
Member

Can you test with the latest nightly build?
https://github.com/dotnet/maui/wiki/Nightly-Builds

@criss02-cs
Copy link
Author

Hi, with 8.0.10-nightly.10055 version it works. When this verson will be available?

@PureWeen
Copy link
Member

This should be available in 8.0.7 which went public two days ago
#20159

@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants