Esri / nearby-javascript

ArcGIS API for JavaScript app to find places nearby and route to the nearest location.
Apache License 2.0
41 stars 24 forks source link

Map page popup issues #20

Closed andygup closed 5 years ago

andygup commented 5 years ago

When logged in, there are several issues with the popup on the map result page.

To reproduce:

  1. Run app locally and log in
  2. Click on an item in the list
  3. Go back to home page/list
  4. Select another item in the list
  5. Repeat steps 2 - 4

There are several issues that I'm seeing:

image

image

image

odoe commented 5 years ago

This should be fixed in latest release. https://github.com/Esri/nearby-javascript/commit/b9c221fe08b85aa7f3552b5ba0655cf9523962c1

There is a slight delay in route transitions, where the map is still doing stuff to repopulate the items in the FeatureLayer. I can't quite catch the sequence of events, so I had to add a little debounce to opening popups in this mode. There is no delay when both map and list are shown though.

andygup commented 5 years ago

LGTM!