-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[Material] Remove text ripple from TextFields #41320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
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. |
|
I would update the description to say the guidelines no longer require a splash. They did at one point. |
justinmc
left a comment
There was a problem hiding this 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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM too
* remove splash logic * update tests
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.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.///).flutter analyze --flutter-repo) does not report any problems on my PR.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