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

DropdownMenu and CascadeDropdownMenu disappear on uiMode change #1676

Closed
nicolarevelant opened this issue Sep 25, 2024 · 0 comments · Fixed by #1680
Closed

DropdownMenu and CascadeDropdownMenu disappear on uiMode change #1676

nicolarevelant opened this issue Sep 25, 2024 · 0 comments · Fixed by #1680

Comments

@nicolarevelant
Copy link

nicolarevelant commented Sep 25, 2024

Problem: when I perform this sequence of events the DropdownMenu/CascadeDropdownMenu disappears:

  1. Touch the filter icon at the top right
  2. Switch between light and dark mode twice

or:

  1. Touch the sort icon at the top right
  2. Switch between light and dark mode twice

or:

  1. Touch the 3-dot icon at the top right
  2. Switch between light and dark mode twice

or:

  1. Open a community page
  2. Touch the sort icon at the top right
  3. Switch between light and dark mode twice

or:

  1. Open a community page
  2. Touch the 3-dot icon at the top right
  3. Switch between light and dark mode twice

Possible solution:

use rememberSaveable instead of remember in the following occurrencies:

  • app/src/main/java/com/jerboa/ui/components/home/Home.kt:69, 70, 71
  • app/src/main/java/com/jerboa/ui/components/community/Community.kt:180, 181

Screenshots:

Version:

0.0.66 - not fixed in 0.0.75

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

Successfully merging a pull request may close this issue.

1 participant