v1tzor / TimePlanner

Mobile app for planning tasks for the day with multimodule architecture, MVI, Compose, Room, Voyager, AlarmManager, Notification, Charts
Apache License 2.0
429 stars 48 forks source link

DropdownMenu disappears on orientation change #114

Open nicolarevelant opened 1 month ago

nicolarevelant commented 1 month ago

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

  1. Open categories screen from the drawer
  2. Select a category
  3. Touch the category's 3-dot icon
  4. Rotate the device twice

or:

  1. Open categories screen from the drawer
  2. Touch the 3-dot icon at the top right
  3. Rotate the device twice

Possible solution:

use rememberSaveable instead of remember in the following occurrencies:

Screenshots:

Version

0.9.0 (29)