<p></p>
<p><b>@mmd-osm</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6412#discussion_r2376585826">app/views/layouts/_header.html.erb</a>:</p>
<pre style='color:#555'>> -          <% end %>
-        <% else %>
-          <%= render "layouts/select_language_list" %>
-        <% end %>
+        <div class="mb-3 px-2">
+          <%= text_field_tag :language_search,
+                             params[:language_search],
+                             :placeholder => t("languages_panes.select_language_list.search_language", :default => "Search..."),
+                             :autocomplete => "off",
+                             :dir => "auto",
+                             :class => "form-control py-2 px-3" %>
+        </div>
+        <turbo-frame id="select_language_list" src="<%= languages_pane_path %>?source=<%= ERB::Util.url_encode(request.fullpath) %>" loading="lazy">
+          <div class="text-center py-3">
+            <div class="spinner-border text-secondary" role="status">
+              <span class="visually-hidden">Loading...</span>
</pre>
<p dir="auto">We have something similar in app/views/browse/_relation.html.erb. I think the text would be relevant for screen readers only, and it not visible otherwise.</p>
<a href="https://github.com/user-attachments/assets/6bbc7e65-1d59-4524-a166-b297337df7db">image.png (view on web)</a>
<a href="https://github.com/user-attachments/assets/32bcaa22-8184-489b-a17a-a17b5dd07026">image.png (view on web)</a>
<p dir="auto">This pattern is following the example here: <a href="https://getbootstrap.com/docs/5.0/components/spinners/#border-spinner" rel="nofollow">https://getbootstrap.com/docs/5.0/components/spinners/#border-spinner</a></p>

<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/6412#discussion_r2376585826">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLFVI2SSTVWQ52EOR33ULKUNAVCNFSM6AAAAACHGBLHKCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTENRUGAYTSNBXGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOUV2HYPWFISURSJWT3ULKUNA5CNFSM6AAAAACHGBLHKCWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTWCRT6BI.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/6412/review/3264019476</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/6412#discussion_r2376585826",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6412#discussion_r2376585826",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>