Skip to content

InkWell doesn't work well in AnimatedContainer. #5211

@dragostis

Description

@dragostis

If you have an AnimatedContainer with an InkWell, the splashes will not have interpolated clipping rectangles, which leads to unpleasantly cut circles when the AnimatedContainer grows.

You can reproduce this by handing an InkWell with growing AnimatedContainer inside.

new InkWell(
  child: new AnimatedContainer(
    height: someGrowingFunction(),
    duration: ...
  )
)

Some leads to the issues are: this notice, this line, and this method.

Metadata

Metadata

Assignees

Labels

d: api docsIssues with https://api.flutter.dev/f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions