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

[BUG] Camera workflow breaks the back button in BaseScreen #132

Open
julianrkung opened this issue Apr 24, 2021 · 1 comment
Open

[BUG] Camera workflow breaks the back button in BaseScreen #132

julianrkung opened this issue Apr 24, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@julianrkung
Copy link
Collaborator

Describe the bug
When the user finishes a camera workflow when filing out a form and presses the "Back" button on the top left of the screen, they're taken back to the camera screen rather than outside of whatever screen they were at before filling out the form.

We probably just need to pass the goBack parameter to BaseScreen and have it be during goBack. Should be a quick fix.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the "Create a Purchase Request" form
  2. Go through the workflow for creating a photo
  3. Press the top left back button and it takes you back to Camera screen instead of Inventory Main.

Expected behavior
It should take you back to Inventory Main.

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Device Model: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]

Environment:
Which environment(s) is this bug located in?

  • local or development
  • production

If the bug is located in production, find the version number under Menu > Settings

  • Version [e.g. 1.1.0]

Additional context
Add any other context about the problem here.

CC: @julianrkung

@julianrkung julianrkung added the bug Something isn't working label Apr 24, 2021
@julianrkung
Copy link
Collaborator Author

@wangannie If you don't have time to do this, I can do it. Should be a quick fix but assigning to you because you know more about this problem than me at this point!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants