Skip to content

Region selector auto-focus causes Safari to zoom the page #29

Description

@Bjorkan

What happened

Opening the REGION selector automatically focuses the filter search field. In Safari, this causes the page to zoom in. After selecting a region or closing the selector, the page remains zoomed, so I have to manually zoom back out each time.

Expected behaviour

Opening the region selector should not change the page zoom level.

Possible approaches could be to avoid automatically focusing the filter field on affected touch/mobile browsers, or to adjust the input so Safari does not zoom when it receives focus.

Steps to reproduce

  1. Open BEACON in Safari.
  2. Tap the REGION selector.
  3. The filter search field receives focus automatically.
  4. Safari zooms in on the page.
  5. Close the selector or choose a region.
  6. The page remains zoomed in and must be manually zoomed back out.

Environment

  • beacon-web image: ghcr.io/meshcore-beacon/beacon-web:latest@sha256:987b8c971dadc2db0e0d7f20500c73359930a979b8a14650e75106a7a378776e
  • Browser: Safari
  • Deployment: Docker Swarm at https://beacon.meshat.se

Screenshots

Image Image

Console / network output

No relevant console or network errors observed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions