midzer / tobii

An accessible, open-source lightbox with no dependencies
https://midzer.github.io/tobii/demo/
MIT License
196 stars 20 forks source link

Smooth transition #115

Open wireinet opened 1 year ago

wireinet commented 1 year ago

hi! I use Toby and he's WONDERFUL! But I can't find smooth transition options for opening/closing

wireinet commented 1 year ago

In css i find --tobii-transition-duration: 0.3s is for smooth, but in fact its work without smoothing (also in demo). Oh, this is for sliding maybe.

midzer commented 1 year ago

hi @wireinet and thanks for filing!

yeah, --tobii-transition-duration is for slider transition speed. There was no demand for smooth image lightbox opening yet.

viliusle commented 1 year ago

Transitions are nice, but there are few problems:

I suggest not activate it by default, but feature would be nice.

wireinet commented 1 year ago

Hello! Yes, will be great, if this feature are coming! In my site, where i use this lib, all popups have transition, and i will be glad to add in lightbox too.