Skip to content

Zoom level not reset when searching in table view #54

Description

@henrikaskj

How to reproduce:

  1. Zoom in in a map tab in server side faceted search
  2. Go to table view and submit a new search
  3. Go back to the map tap. It will still be zoomed in, and you won't see the new results outside the map bounds.

The zoom level will be reset if you search while the map tab is selected. When you are in table view, "action"/"reason" in fetchResults is undefined, preventing the zoom level from resetting:

reason === 'facetUpdate' &&

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions