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

fix: Remove 'Create Site Here' button on overlay sheet, add bottom margin #1720

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

knipec
Copy link
Contributor

@knipec knipec commented Jul 5, 2024

Description

Pressing the "Create Site Here" button would not close the soil info overlay sheet that it was on (though it would navigate to a different sheet underneath the open overlay sheet). This was undesirable. If we wanted to fix it, we could probably pass the button a ref to the overlay sheet to allow the button to close the overlay sheet on press, but Courtney suggested just removing the button. I think this makes sense because the soil info sheet is just specific to that soil, and if you want to create a site from that temporary location, you can just close the overlay sheet to access another "Create Site Here" button.

Also added a bit of margin at the bottom to let it breathe and not feel like the content is so close to the edge of the screen.

Related Issues

Fixes #1556

Screenshot

@knipec knipec merged commit 2ea683d into main Jul 5, 2024
9 checks passed
@knipec knipec deleted the fix/remove-button branch July 5, 2024 20:57
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

Successfully merging this pull request may close these issues.

Soil Info sheet - upon selecting "Create site", sheet remains open and user does not see form
2 participants