[openstreetmap/openstreetmap-website] make sure iD's iframe is focused on startup (PR #6083)
Martin Raifer
notifications at github.com
Tue Jun 3 19:39:56 UTC 2025
tyrasd left a comment (openstreetmap/openstreetmap-website#6083)
> Have you tried adding [`autofocus`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autofocus) to the `<iframe>`?
I haven't, but given that the attribute is still marked as (kind of) _newly available_, I'd say the manual `.focus()`ing might be to prefer for now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6083#issuecomment-2936893897
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6083/c2936893897 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250603/d46cf455/attachment-0001.htm>
More information about the rails-dev
mailing list