alvarcarto / alvarcarto-designer

Alvar Carto map designer and order app
http://design.alvarcarto.com
3 stars 1 forks source link

When having two different size maps, the moving one causes the other one move also #58

Open kimmobrunfeldt opened 5 years ago

kimmobrunfeldt commented 5 years ago

Steps to reproduce

  1. Add poster
  2. Change the currently selected poster's (cartItem no. 2) size
  3. Move the map up
  4. Switch back to cart item 1
  5. It has now moved also.

alvar

What is happening

So the bug is something like this:

I couldn't reproduce this bug if the other map is from far away, so it apparently only happens when the two maps are from close locations which causes the map to animate the position change instead of a complete reload of the map

kimmobrunfeldt commented 5 years ago

I upgraded leaflet to 1.3.4 and react-leaflet to 1.9.1. Didn't fix it yet.