Skip to content

[ripple] add terminateOnMouseup option to RippleGlobalOptions #9577

@willshowell

Description

@willshowell

Bug, feature request, or proposal:

Proposal

Current behavior

All ripples complete their transformation animation before fading out opacity. This matches the MDC implementation.

Proposed behavior

In some implementations of the Material spec (and to some eyes, like mine), starting the fade out on mouseup is more desirable.

An option such as terminateOnMouseup that would globally affect all ripples would be a welcome accommodation.

Other

This shows the ripple terminating once transformation is complete:

This shows the ripple terminating on mouseup:

This is a continuation of the conversation in #7397.

Metadata

Metadata

Assignees

Labels

featureLabel used to distinguish feature request from other issuesneeds: discussionFurther discussion with the team is needed before proceeding

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