Skip to content

FloorFilter - Fix unintended SiteAndFacilitySelector re-open #820

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

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

dfeinzimer
Copy link
Collaborator

Closes #783

Important

Test under UserInterfaceSizeClass.compact (e.g. iPhone or iPad in Split View)

How to test:

  1. Open the Site and Facility Selector.
  2. Interactively dismiss the Site and Facility Selector (e.g. swipe down from the header or empty body area).
  3. Pan the map. The Site and Facility Selector does not unexpectedly reappear.

Findings:
The .constant(!$isSitesAndFacilitiesHidden.wrappedValue) prevented isSitesAndFacilitiesHidden from being set true when the sheet was interactively dismissed, causing it to reappear when the view was re-evaluated.

@dfeinzimer dfeinzimer requested a review from mhdostal July 17, 2024 22:15
@dfeinzimer dfeinzimer self-assigned this Jul 17, 2024
@dfeinzimer dfeinzimer linked an issue Jul 17, 2024 that may be closed by this pull request
@dfeinzimer dfeinzimer merged commit 3267a91 into v.next Jul 18, 2024
@dfeinzimer dfeinzimer deleted the df/783 branch July 18, 2024 17:42
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.

FloorFilter: SiteAndFacility Manager appearing when panning map
2 participants