SaturnTeam / saturn-datepicker

Angular Material Datepicker with range selection
MIT License
276 stars 111 forks source link

ripple effect hangs and stays visible longer than expected #117

Open rotemx opened 4 years ago

rotemx commented 4 years ago

Hi, after opening the date picker, the ripple effect sometimes remains visible and not fading out. this can be seen in your demo as well.

is there an option to fix this issue or disable the ripple effect all together ?

I tried to disable ripples globally on Angular Material in my NgModule:

    providers   : [
        {provide: MAT_RIPPLE_GLOBAL_OPTIONS, useValue: globalRippleConfig}
    ],

but with no success.

thanks Rotem

manjunathamm24 commented 3 years ago

I am also facing same issue, is there an option to fix this issue?

i have tried disable ripple globally.

const globalRippleConfig: RippleGlobalOptions = { disabled: true, terminateOnPointerUp: true, animation: { enterDuration: 300, exitDuration: 0 } };

providers : [ {provide: MAT_RIPPLE_GLOBAL_OPTIONS, useValue: globalRippleConfig} ],

but not solved.