Skip to content

[ripple] add terminateOnMouseup option to RippleGlobalOptions #9577

Closed
@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

featureThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions