djibe / material

Material Design 2 for Bootstrap 4 (active fork of Daemonite Material)
https://djibe.github.io/material/
MIT License
68 stars 11 forks source link

Toasts dont work with Bootstrap Native (easy-fix) #18

Closed justlevine closed 3 years ago

justlevine commented 3 years ago

Hey,

Just noticed that toasts/snackbars arent working with Bootstrap Native.

The reason is that the transition property is on .show, instead of on .toast.

Is there a way to move this around?

PS: unrelated, but also noticed that in boostrap, .showing has an opacity:1, but here it's set to 0. Is there a reason for that, or can that be fixed for parity?

djibe commented 3 years ago

Hi. I'll try to see what I can do.

djibe commented 3 years ago

Hi @justlevine . Thx to you I fixed it in master right now: https://github.com/djibe/material/commit/e006880ff45c8dccf1d6755c2a5e2234ae672a8b#diff-d56067c4a1d9bfcc739868f78b66065219dd45512944ecbe953bdbbbd5e0a184 I'll update auto-sizing soon. Will be in next release.

djibe commented 3 years ago

Hi, fixed in 4.5.3