Skip to content
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
@VAK314

Description

@VAK314

Bug, enhancement request, or proposal:

CodePen and steps to reproduce the issue:

CodePen Demo which demonstrates the issue:

Detailed Reproduction Steps:

  1. 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.

if (ctrl.focusIndex > 0) {

may be condition should be ctrl.focusIndex>=0?

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.has: Pull RequestA PR has been created to address this issueresolution: fixedseverity: regressionThis issue is related to a regressiontype: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions