Hi there,
Strange problem: I have a web app and the DOM order goes as follows:
1. Sidebar/menu
2. MapView
3. Widgets
When I load the page and tab through the page, the focus skips number 1 in the order and goes straight to the MapView and carries on from there. I have tried forcing the order using tabindex and so on, but still it happens.
Is it built in somewhere in the MapView that it is focused first perchance? I'm not sure if it is the MapView doing it or not, so trying to narrow down where it's happening.
Thanks,
Alex
Is it possible to share the URL of your web app? Or you can direct message me. I can take a look.
Hi Tao, That would be great - I can't direct message you as we are not connected?
To anyone wondering - this was due to the way we had implemented Reach Router for our app. It was the router automatically focussing the first thing that changed on load, and in this case it was an empty div, and that's why we got mixed up!
Thanks so much for your help Tao!