Spotted in the field as well. I think it usually works, until something breaks, and then map movement doesn't update the URL any more, which breaks editing the position on mobile.
I've just fooled myself into thinking I found a repro:
- Open https://falling-fruit-web.pages.dev/locations/1823152 in a browser, wide window, so it's desktop mode
- click 'edit'
- make the window smaller - form switches to mobile
- click 'edit position'
- the feature was broken (except now it isn't, one thing that changed was an auto-deploy of a feature I just merged )
I think the key to solving this issue is finding a reliable reproduction - in what conditions does panning the map no longer result in updated URL? Locally, I also thought I reproduced the issue when starting to pan really quickly after window resize, and then was able to fix it by resizing the browser window again. So it might be something about the google maps callback, and possibly very hard to fix.
Spotted in the field as well. I think it usually works, until something breaks, and then map movement doesn't update the URL any more, which breaks editing the position on mobile.
I've just fooled myself into thinking I found a repro:
I think the key to solving this issue is finding a reliable reproduction - in what conditions does panning the map no longer result in updated URL? Locally, I also thought I reproduced the issue when starting to pan really quickly after window resize, and then was able to fix it by resizing the browser window again. So it might be something about the google maps callback, and possibly very hard to fix.