element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
Apache License 2.0
10.83k stars 1.91k forks source link

Change or remove the spoiler transition animation #21500

Open babolivier opened 2 years ago

babolivier commented 2 years ago

Your use case

What would you like to do?

Either removing or changing the spoiler blur/unblur animation (Discord's is a great example on how to do it right).

Why would you like to do it?

I'm not sure if it's because I'm visually impaired (ie I require glasses in my everyday life and sometimes (either when not wearing them or when my eyes are tired) I need to "manually" focus my vision to unblur my sight), but the unblur animation looks exactly the same as when I'm focusing my vision to unblur it but without the sensation of the actual effort it requires when I do it, and my brain really doesn't like it (and it make my eyes hurt when I'm getting tired).

How would you like to achieve it?

By changing the animation to something other than a blur/unblur and that doesn't make my head or my eyes hurt. I think Discord's doing a great job at that.

Have you considered any alternatives?

Not sure there's any alternative to consider.

Additional context

No response

andybalaam commented 2 years ago

I have normal vision (although degrading slightly with age) and I too find the unblur animation hurts my eyes. I think it's because it causes my eye muscles to attempt to adjust, when they can't (similar to what the OP describes).