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

SearchBar disappears on orientation change #840

Open
nicolarevelant opened this issue Sep 25, 2024 · 0 comments
Open

SearchBar disappears on orientation change #840

nicolarevelant opened this issue Sep 25, 2024 · 0 comments

Comments

@nicolarevelant
Copy link

nicolarevelant commented Sep 25, 2024

1. Environment

  • Device: [Xiaomi Redmi Note 8 Pro]
  • OS: [Android 14]
  • APP: [0.9.12]

Note: not fixed in 0.10.1

2. Describe the bug

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

  1. Open a feed
  2. Open search bar
  3. Type "python"
  4. Rotate the device twice

Possibile solution:

  • app/src/main/java/me/ash/reader/ui/page/home/flow/FlowPage.kt
  • variable "onSearch": use rememberSaveable instead of remember

Screenshots:

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

1 participant