Skip to content

Conversation

@johnsonmh
Copy link
Contributor

@johnsonmh johnsonmh commented Sep 25, 2019

Description

TextFields should no longer have a ripple effect on tap according to the material.io spec, see https://material.io/components/text-fields/.

This PR removes the ripples from TextFields.

Material Spec
giphy-2
Before PR After PR
giphy giphy-1

Related Issues

Closes #23380

Tests

Updated the tests that check for a splash to now expect that no splashes are ever requested on TextFields.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

Although this change is visually breaking, so I filed this breaking change request: https://groups.google.com/forum/#!topic/flutter-announce/WXLGBsh5fFY

@fluttergithubbot fluttergithubbot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Sep 25, 2019
@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. While there are exceptions to this rule, if this patch modifies code it is probably not an exception.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@willlarche
Copy link
Contributor

I would update the description to say the guidelines no longer require a splash. They did at one point.

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good catch.

@HansMuller HansMuller added the will affect goldens Changes to golden files label Sep 26, 2019
Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too

@johnsonmh johnsonmh merged commit f4ba8d1 into flutter:master Sep 28, 2019
@johnsonmh johnsonmh deleted the fix-textFieldRipple branch September 28, 2019 15:47
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. will affect goldens Changes to golden files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TextField has a ripple effect that seems to be outside of guidelines

7 participants