tabliss icon indicating copy to clipboard operation
tabliss copied to clipboard

Fade between images when new one is loaded?

Open mxmilkiib opened this issue 1 year ago • 4 comments

I found it a bit jarring to have the new tab background suddenly jump to a new image when I was focusing on something whilst in front of the computer.

mxmilkiib avatar Jul 25 '23 17:07 mxmilkiib

Having a check about, I see an example like https://gist.github.com/CodeMyUI/64552ba973a4f3f9953edd4f33ed22c0

Not sure how to reproduce with CSS overrides though.

mxmilkiib avatar Aug 02 '23 03:08 mxmilkiib

I tried to implement a cross-fade too, but found no easy way to do it in React, because when the old image unmounts it's too late to make it fade. The only idea I have would be to fade-in the new image on top of the old one and afterwards remove the old one.

NoschdarSindy avatar Aug 04 '23 14:08 NoschdarSindy

How about a fade to black and then fade in the new image, rather than a cross-fade?

the-wright-jamie avatar Aug 24 '23 08:08 the-wright-jamie

Hey, @mxmilkiib, my fork just implemented a fade-to-black transition. Couldn't get a cross fade, but it's much better than a hard cut. It's a rather scuffed implementation, but it's working! Coming out once I finish the 1.2.0 milestone (one more issue left)

the-wright-jamie avatar Sep 26 '23 21:09 the-wright-jamie