Skip to content

Sample double saving #807

@ClairePMartin

Description

@ClairePMartin

Describe the bug
When samples are added and any information is added to the modal the 'save' button is being treated as a 'close' button to the device. You are asked if you want to save unsaved changes, meanwhile the 'save' green banner shows in the background (because you clicked save)

To Reproduce
Are you able to reproduce the problem in a new project after restarting the app?
Yes

Steps to reproduce the behavior:

  1. Go to a spot
  2. click the samples section or icon
  3. add information (click oriented)
  4. click save
  5. see warning about saving unsaved data while the save banner shows in the background

Expected behavior
click save and not have to 'save unsaved changes' because they aren't unsaved changes

Screenshots
below

Smartphone (please complete the following information):
iPhone 14 (iOS 26.0.1)
iPad 6th Generation (iPadOS 17.7.10)
Samsung Galaxy A9 Tablet (One UI 7.0)

Additional context
Add any other context about the problem here.

Image Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions