Map misbehaves when TAB key is pressed

10 views
Skip to first unread message

Andre Tannus

unread,
Jul 20, 2011, 4:24:32 PM7/20/11
to google-map...@googlegroups.com
Hi.

I have a map embeded on an basic address form.

The HTML is such that the map is the third element rendered, and thus the <a> anchor which contains the Google logo within the map gets focus as I tab through the fields. When that happens, the map "jumps". I think the browser (Chrome) forces the link into view when it gets focus, displacing the whole map. After that, things get pretty messy, and the map is rendered useless, requiring the user to refresh the page.

I can get around this by setting the tabindexes of all form elements, but this is a dynamically generated/updated form, so you can anticipate the trouble that'd be.

If anyone has a workaround for this, I'd love to know it! Thanks...
Reply all
Reply to author
Forward
0 new messages