[openstreetmap/openstreetmap-website] Right click and selecting "Directions to here" can unintuitively blank the directions "From" text box (#1684)
aftertea
notifications at github.com
Sun Nov 19 18:12:34 UTC 2017
When a user searches for a location (i.e. Big Ben), clicks Directions, and then selects the second point for the directions to route, it forgets the initially selected location.
**Replication steps**
1. On https://www.openstreetmap.org in the search bar search for a location (i.e Big Ben)
2. Press the Directions button to the right of the search bar.
-- "From" is now populated with the address of Big Ben, URL is [this](https://www.openstreetmap.org/directions?from=Big%20Ben#map=19/51.50069/-0.12411)
3. On the map, right click any location and select "Directions to here"
**Actual Result**
- Big Ben is removed from the "From" text box.
- Location clicked on the map is entered into "To" text box
**Expected result**
- Big Ben remains in the "From" text box.
- Location clicked on the map is entered into "To" text box
**Note**
Its possible that the real bug here is that the initial clicking of "Directions" should populate the "To" text box, instead of the "From"
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1684
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171119/9cded5ba/attachment.html>
More information about the rails-dev
mailing list