Skip to content

Excessive updates to window history #93

@mrjones-plip

Description

@mrjones-plip

To reproduce:

Version 1 of bug:

  1. Open a new tab
  2. Go to http://example.com
  3. Go to https://packet-clearing-house.github.io/maptable/examples/minimal.html
  4. resize your window and zoom your browser
  5. Hold down your back button to view past pages you've visited

Expected: there are two items in my browser history: example.com & maptable example
Actual: there are dozens of maptable example and example.com is no where to be seen

Version 2 of bug

  1. Open a new tab
  2. Go to http://example.com
  3. Go to https://packet-clearing-house.github.io/maptable/examples/minimal.html
  4. resize your window and zoom your browser
  5. Click the back button

Expected: your browser goes back to example.com
Actual: your browser appears to do nothing

This is especially egregious when you have a maptable with no zoom or filters or table such that the user can only zoom their browser or resize their window. Suddenly the back button is "broken" because clicking it does nothing (but is actually taking them back one to one of the many window histories maptable has added)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions