Skip to content

Editing position on mobile sometimes doesn't work #1033

@wbazant

Description

@wbazant

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:

  1. Open https://falling-fruit-web.pages.dev/locations/1823152 in a browser, wide window, so it's desktop mode
  2. click 'edit'
  3. make the window smaller - form switches to mobile
  4. click 'edit position'
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected problems or unintended behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions