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

navigation to/from the Add screen #1

Open
valsen opened this issue Dec 15, 2019 · 0 comments
Open

navigation to/from the Add screen #1

valsen opened this issue Dec 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@valsen
Copy link
Owner

valsen commented Dec 15, 2019

The page for adding a new todo is currently just a tab of the app's only page. Navigating to it by tapping its icon in the bottom tab bar works, but there is currently no way to automatically navigate back to the previously active tab upon saving or canceling the new todo.

Suggested solution:
Implement the add screen as a new page with its own route instead. This would allow popping the route from the navigation stack when saving or canceling the new todo, bringing the user back to the previous view and as a bonus reset the state of the add screen (clear all user inputs).

@valsen valsen added the enhancement New feature or request label Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant