Vuetify: [Feature Request] Don't display the ripple for touch scroll events

Created on 20 Jul 2019  路  10Comments  路  Source: vuetifyjs/vuetify

Problem to solve

Now, v-ripple displays the ripple effect when a mobile user scrolls.
material-ui doesn't display the ripple for touch scroll events.

Proposed solution

https://github.com/mui-org/material-ui/blob/v4.2.1/packages/material-ui/src/ButtonBase/TouchRipple.js#L118

VRipple has PR feature help wanted

Most helpful comment

Any update on this?

All 10 comments

I'm also looking for this functionality!

Yes. Pretty please, can we get this?

Can we merge this please? it is an important fix.

This is indeed a pretty important fix. Can this be fixed/merged please?

Any update on this?

Please merge this. It is very important for mobile devices. @johnleider

As temporary workaround it can be done with something like this

CSS
.hide-ripple .v-ripple__container { display: none }

JS
window.addEventListener('touchmove', function() { document.body.classList.add('hide-ripple') }, { passive: true });
window.addEventListener('touchend', function() { setTimeout(function(){ document.body.classList.remove('hide-ripple') }, 50); });

Still waiting on this one guys 鈾ワ笍

resolved with #10596

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thearabbit picture thearabbit  路  31Comments

stygmate picture stygmate  路  65Comments

lukef picture lukef  路  30Comments

mitar picture mitar  路  38Comments

CasperLaiTW picture CasperLaiTW  路  30Comments