Skip to content

Uncaught TypeError when selecting checkbox with ripple disabled #3856

Closed

Description

Bug, feature request, or proposal:

Bug

What is the expected behavior?

No uncaught typeerrors when selecting checkboxes if ripple is disabled

What is the current behavior?

When selecting or tabbing to a checkbox with [disableRipple]="true":

Uncaught TypeError: Cannot read property 'launch' of undefined
    at SafeSubscriber.eval [as _next] (material.umd.js:6095)
    . . .

What are the steps to reproduce?

http://plnkr.co/edit/YcArpxwX8fQReqj55ufU?p=preview
Open console and click the "No ripple" checkbox

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

latest versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions