You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Issue can be reproduced with Catalog app, as seen in attached recording
Open DatePicker, and navigate to month in the past or in the future.
Put app into background and then bring to foreground
DatePicker selection moves back to current month (or the one it was opened with initially)
Expected behavior: State of the component should be maintained.
The problem only happens in background/foreground use case. When device is rotated, the state is correctly maintained.
Android API version: Observed on multiple versions, e.g. 30 and 35.
Material Library version: Catalog app built from HEAD on master branch (690bbfc). Also observed with 1.12.0
Device: Observed on multiple devices, e.g. Android emulator, Pixel 6a
As a user of my app has reported (mtotschnig/MyExpenses#1626), this has important UX implication: User navigates to a given month, and before selecting the day, they need to verify information in a different app, and when returning to my app, the month they already have selected, is lost.
Screen_recording_20250116_235244.mp4
The text was updated successfully, but these errors were encountered:
On a technical level, the problem seems to be caused by the fragments being recreated every time in onStart. Reusing the existing fragments seems to solve the issue: mtotschnig@48d4f39
Description: Issue can be reproduced with Catalog app, as seen in attached recording
Expected behavior: State of the component should be maintained.
The problem only happens in background/foreground use case. When device is rotated, the state is correctly maintained.
Android API version: Observed on multiple versions, e.g. 30 and 35.
Material Library version: Catalog app built from HEAD on master branch (690bbfc). Also observed with 1.12.0
Device: Observed on multiple devices, e.g. Android emulator, Pixel 6a
As a user of my app has reported (mtotschnig/MyExpenses#1626), this has important UX implication: User navigates to a given month, and before selecting the day, they need to verify information in a different app, and when returning to my app, the month they already have selected, is lost.
Screen_recording_20250116_235244.mp4
The text was updated successfully, but these errors were encountered: