falling-fruit / falling-fruit-web

Mobile-friendly website for Falling Fruit
https://beta.fallingfruit.org
GNU General Public License v3.0
29 stars 7 forks source link

Searching in the list view sometimes doesn't update locations on list #389

Open wbazant opened 1 month ago

wbazant commented 1 month ago

Searching in the list view doesn't currently update the list. Related to #347, and possibly related to #387 through the theme of missing bounds.

For reproduction, try switching between e.g. Parliament Square and Shoreditch in London:

  1. Start from the first place http://beta.fallingfruit.org/map/@51.5006791699648,-0.12691335000002368,16z
  2. Transition to list view and check the locations (here, an apple tree and a dumpster)
  3. Search for the other place - URL changes but the list is not updated
  4. Transition to map
  5. Transition back to list - only now get the updated list

An additional error is shown in dev mode, which hints at problems with bounds setting: Screenshot from 2024-05-29 20-33-20 Shoreditch triggers the error because of its size (searching for New York produces a view that was sufficiently zoomed out)