<p dir="auto">Fix for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2470536189" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5088" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5088/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5088">#5088</a>.</p>
<p dir="auto">If the "From" value is long enough <a href="https://www.openstreetmap.org/directions?from=7%2C%20Bell%20Yard%2C%20Gray%27s%20Inn%2C%20Holborn%2C%20London%2C%20Greater%20London%2C%20England%2C%20WC2A%202JR%2C%20United%20Kingdom" rel="nofollow">like this</a> and you close the directions form, you'll get the search value overlapping with "Where is this?".</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/712dae62-4e43-4032-b27f-92da4aa9ec1f">image.png (view on web)</a><br>
<a href="https://github.com/user-attachments/assets/568f98b2-07ab-4a72-af5f-dd71cbcb7e51">image.png (view on web)</a></p>
<p dir="auto">Also sometimes it's possible to delete the value, close the directions and get a blank search input without "Where is this?".</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5096'>https://github.com/openstreetmap/openstreetmap-website/pull/5096</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5096/commits/93a9f31bf0e1cd3d5aec478aeef65c8132b02bdd" class="commit-link">93a9f31</a>  Show/hide "Where is this?" when setting search value from directions</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5096/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5096/files#diff-fdb9558c2ba79ddf9fbcb92594a8a8fa54abb1b3e25ce264de37951b428a958b">app/assets/javascripts/index/directions.js</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5096.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5096.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5096.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5096.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5096">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLN7PWS6RSJPSJWDFQDZSIR3BAVCNFSM6AAAAABMYHWDUWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TGOBSGI3TMMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKNDCZYOLVJZ4AWXU3ZSIR3BA5CNFSM6AAAAABMYHWDUWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJG44KFE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5096</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5096",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5096",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>