Skip to content

Zoom level not reset when searching in table view #54

@henrikaskj

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' &&

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