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
When using Firefly-Pico as a PWA on Android, switching between the bottom tabs (e.g., Home, Add, Transactions, Settings, etc.) causes the back button to behave unexpectedly. Specifically, after switching tabs, pressing the Android back button requires multiple presses to exit the application. The number of presses needed corresponds to how many times the user has switched tabs.
Expected Behavior:
When switching between tabs, the Android back button should not step back through each tab change. Instead, it should either:
Exit the application if the user is on a main tab, or
Navigate within the current tab if the user has drilled down into a deeper page (e.g., viewing a transaction detail).
Steps to Reproduce:
Open Firefly-Pico as a PWA on an Android device.
Switch between the bottom tabs (e.g., Home -> Add -> All Transactions).
Press the Android back button.
Notice that the back button steps back through each tab change, requiring multiple presses to exit the application.
Proposed Solution:
Implement a custom back button handler to:
Prevent tab switches from being added to the browser history stack.
Make the back button behave like a native app—exiting the application when on a main tab, or navigating back only within a single tab's deeper navigation flow.
The text was updated successfully, but these errors were encountered:
Thank you for your suggestion 👍 Adding it as something nice to have later down the road, since not everyone uses Android and not everyone uses the PWA version.
If you find this valuable you can try to submit a PR
When using Firefly-Pico as a PWA on Android, switching between the bottom tabs (e.g., Home, Add, Transactions, Settings, etc.) causes the back button to behave unexpectedly. Specifically, after switching tabs, pressing the Android back button requires multiple presses to exit the application. The number of presses needed corresponds to how many times the user has switched tabs.
Expected Behavior:
When switching between tabs, the Android back button should not step back through each tab change. Instead, it should either:
Exit the application if the user is on a main tab, or
Navigate within the current tab if the user has drilled down into a deeper page (e.g., viewing a transaction detail).
Steps to Reproduce:
Open Firefly-Pico as a PWA on an Android device.
Switch between the bottom tabs (e.g., Home -> Add -> All Transactions).
Press the Android back button.
Notice that the back button steps back through each tab change, requiring multiple presses to exit the application.
Proposed Solution:
Implement a custom back button handler to:
Prevent tab switches from being added to the browser history stack.
Make the back button behave like a native app—exiting the application when on a main tab, or navigating back only within a single tab's deeper navigation flow.
The text was updated successfully, but these errors were encountered: