[openstreetmap/openstreetmap-website] Language selection enhancements (PR #6412)
mmd
notifications at github.com
Wed Sep 24 20:04:02 UTC 2025
mmd-osm left a comment (openstreetmap/openstreetmap-website#6412)
When adding a 5 second sleep in LanguagesPanesController, it was easy to spot that the search field wasn't properly focused. I've added another `$search .val("") .trigger("input") .trigger("focus");` to the turbo:frame-load event, to cover this case.
Since the turbo event doesn't fire if the data is still cached (and src hasn't changed), we have the exact same code in shown.bs.modal as well.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6412#issuecomment-3330487483
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6412/c3330487483 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250924/37e5dc50/attachment.htm>
More information about the rails-dev
mailing list