streetlives / yourpeer.nyc

The open source repository behind the yourpeer.nyc web application
https://yourpeer.nyc
MIT License
0 stars 0 forks source link

Smooth map centering when selecting different locations on mobile map view #40

Open adambard1 opened 1 month ago

adambard1 commented 1 month ago

The re-centering creates a disjointed experience. I think the map should stay wherever the user has dragged it while clicking around. The slide up animation of the tray also feels a bit jerky, and if it can be smoothed will improve the user experience. Compare heroku and live

heroku

https://github.com/user-attachments/assets/14d1c690-2d45-4549-a3ee-52dd02aebc48

adambard1 commented 1 month ago

and live

https://github.com/user-attachments/assets/0b1b636d-c74b-4172-ae13-8b04105cb969

jbeard4 commented 1 month ago

This is fixed - smooth pan animation is now enabled in test environment.

Sliding the tray up is something we can add later. This animation is also not currently working on live, so at least it's not worse.

adambard1 commented 1 month ago

Def imrpvode, still a bit jerky compared to live. Appreciating it's not a required for launch priority.