Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabs should not keep focus on touch screen #12247

Closed
nicolashenry opened this issue Jul 17, 2018 · 1 comment · Fixed by #12249
Closed

Tabs should not keep focus on touch screen #12247

nicolashenry opened this issue Jul 17, 2018 · 1 comment · Fixed by #12249
Assignees
Labels
P4 A relatively minor issue that is not relevant to core functions

Comments

@nicolashenry
Copy link

Bug, feature request, or proposal:

I don't understand why the tabs are focused when touched and I don't think that it should.

What is the expected behavior?

To not keep focus on tabs like on desktop browsers:
desktop

What is the current behavior?

The focus is kept when tabs are touched:
mobile

What are the steps to reproduce?

Try yourself here : https://material.angular.io/components/tabs/overview

What is the use-case or motivation for changing an existing behavior?

Mobile UI should probably not have focus status since there is not keyboard navigation or should at least behave like in desktop browsers.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 6.0.9
Angular Material 6.3.3
Android (Chrome), Windows (Chrome with touch screen simulation)
Typescript 2.7.2
Chrome

@crisbeto crisbeto self-assigned this Jul 17, 2018
crisbeto added a commit to crisbeto/material2 that referenced this issue Jul 17, 2018
Doesn't show the tab's focus indication if it was focused by anything, other than keyboard or programmatically.

Fixes angular#12247.
@crisbeto crisbeto added has pr P4 A relatively minor issue that is not relevant to core functions labels Jul 17, 2018
jelbourn pushed a commit that referenced this issue Aug 23, 2018
Doesn't show the tab's focus indication if it was focused by anything, other than keyboard or programmatically.

Fixes #12247.
jelbourn pushed a commit that referenced this issue Aug 23, 2018
Doesn't show the tab's focus indication if it was focused by anything, other than keyboard or programmatically.

Fixes #12247.
jelbourn pushed a commit that referenced this issue Aug 29, 2018
Doesn't show the tab's focus indication if it was focused by anything, other than keyboard or programmatically.

Fixes #12247.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants