openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.37k stars 1.21k forks source link

Relation isn't selectable in the list when adding member(s) #9575

Open pyrog opened 1 year ago

pyrog commented 1 year ago

URL

https://www.openstreetmap.org/edit?relation=15656714#map=19/48.35365/-4.67091

How to reproduce the issue?

When editing a long relation (an hiking trail), this is impossible to select the relation in the list, neither pas it's name or id.

  1. select the last member of the relation : you see that the hiking trail in the relation list.
  2. select the next way
  3. under relation(s) press + button to add a new parent relation Screen shot 1
  4. type de name or select the hiking route in the dropdown list Screen shot 2
  5. that' work fine 😎


Repeat this, but select few or more ways. The map was scrolled and the last member of the relation isn't visible : you can't select the relation in the list.

  1. select the next way
  2. press MAJ and click on the next way along the route
  3. do this again
  4. press + and try to type the name of the relation : the list is empty 😞 Screen shot 3

Pasting the relation id would useful 😃

Screenshot(s) or anything else?

No response

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit

What version numbers does this issue effect?

No response

Which browsers are you seeing this problem on?

Chrome, Firefox, Safari

1ec5 commented 1 year ago
  1. type de name or select the hiking route in the dropdown list

This usually works if you prefix the relation ID with r. (This used to be a requirement in the search bar too, but it was later relaxed to allow a bare number.)