This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Tabs keyboard navigation with tab removals #781
Comments
ThomasBurleson
changed the title
Tabs keyboard navigation
Tabs keyboard navigation with tab removals
Dec 2, 2014
Firefox doesn't support the So we had to do this: // If the focused element is on a new page, don't focus yet.
tab.element.blur();
// Firefox doesn't support synchronously stopping focus, so we have
// to do it asynchronously there...
setTimeout(function() {
tab.element.blur();
}); It still causes a small visual glitch in Firefox, but it's hard to notice. Hopefully Mozilla will add support for |
Reverted the fix for now, needs a more in-depth solution. |
👍 |
OK, created an actual solution this time. And it's actually very simple. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In your tabs demo, if I click on tab SEVEN then use the left/right keyboard keys to highlight other tabs, it will scroll to tab headings on the right, but not on the left.
Recreate problem
Just in case it is browser specifiec, I've tried
Safari 8 - the tab heading focus doesn't change in either direction, click on dynamic tab SEVEN and use the keyboard left/right... nothing
Chrome 38 - no problem of course
Firefox 33.1 - this is the problem as described above
IE - sorry, using OS X for dev work, haven't got VMWare running at the moment.
The text was updated successfully, but these errors were encountered: