This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
tabs: tabbing into component now takes one extra tab key press #11632
Closed
Description
Bug, enhancement request, or proposal:
CodePen and steps to reproduce the issue:
CodePen Demo which demonstrates the issue:
Detailed Reproduction Steps:
- use keyboard (tab key)
What is the expected behavior?
The focus should be set on first tab
What is the current behavior?
A user navigates the page using keyboard tab key, the focus moves to "md-tabs-canvas" first and then moves to first tab element.
Which versions of AngularJS, Material, OS, and browsers are affected?
- AngularJS: v1.6
- AngularJS Material: v1.1.12
- OS: Linux Debian
- Browsers: Google Chrome Version 72.0.3626.81 (Official Build) (64-bit)
Is there anything else we should know? Stack Traces, Screenshots, etc.
may be condition should be ctrl.focusIndex>=0?