Skip to content

bug(md-button): hover state should not be styled for touchdevices #3325

@sonderbazz

Description

@sonderbazz

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When you tap on a button it shouldn't trigger the hover state - it should just do the click on the first touch.

What is the current behavior?

The hover state i triggered so the user has to double tap to use buttons

What are the steps to reproduce?

Try tapping on a button on a touch device. Bug found on a IOS safari device.

Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

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

Pretty annoying for mobileusers that have to double tap on buttons.

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

Primarily IOS devices - but pretty much any touchdevice. Bug started after the lastest release of ng-material (flannel-papaya)

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions