Skip to content
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

Minor: InkWell executes ripples on touch down #24

Closed
mehmetf opened this issue May 19, 2015 · 5 comments
Closed

Minor: InkWell executes ripples on touch down #24

mehmetf opened this issue May 19, 2015 · 5 comments

Comments

@mehmetf
Copy link
Contributor

mehmetf commented May 19, 2015

I believe the material specification says ripples should expand after a completed tap (touch down and up). Right now they start and expand on touch down which means when I scroll the stocks app, I see ripples where I grab the list. See the polymer material design page on mobile to see what the expected behavior is: https://www.polymer-project.org/0.5/docs/elements/material.html#touch-ripple-effect

@Hixie
Copy link
Contributor

Hixie commented May 19, 2015

Yeah, we match neither the spec nor Android's interpretation of the spec, currently.

@Hixie
Copy link
Contributor

Hixie commented May 19, 2015

...though that page, even on mobile, acts like Stock does. I'm not sure I understand the precise issue you're raising here.

Anyway, this is covered by: https://github.com/domokit/mojo/issues/172

@mehmetf
Copy link
Contributor Author

mehmetf commented May 19, 2015

@Hixie Not really. If you tap and hold the button on the material page, the ripple does not propagate. You are right that this is covered by domokit/mojo#172.

Main reason for raising this: When I scroll on the stocks app, the scrolling gesture initiates the ripple effect on whichever list item my finger happens to touch. This is not pleasing to eye. If I interpret material design page correctly, the ripple should only be executed on elements I am interacting with. If I am scrolling the list, I am not interacting with listitem, I am interacting with the list.

@Hixie
Copy link
Contributor

Hixie commented May 19, 2015

When I push down on any of the squares on that page on my phone, I get a ripple straight away.
On Android L system widgets, the ripples are still there, but very slow.

On the tip-of-tree stock version, the ripples are quenched when you scroll, which makes it much less of a problem. But yeah, we should do even better, as per that aforementioned issue.

@radensoft radensoft mentioned this issue May 9, 2021
@github-actions
Copy link

github-actions bot commented Sep 7, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants