dot-cafe / beam.cafe

🌠 Blazing fast file transfer app focused on user-experience. Fastest way to share files without uploading them.
https://beam.cafe
MIT License
438 stars 14 forks source link

Weird tooltip behavior when switch themes #12

Closed lawvs closed 3 years ago

lawvs commented 3 years ago

What is the current behavior?

screenshot

What is the expected behavior?

When removing the body.theme-transition { transition: all 0.3s !important; } class, it will works normally.

Your environment:

Version (see about page): 1.1.0.4
Browser-version: Chrome 84
Operating-system: Windows 10
simonwep commented 3 years ago

Unfortunately the theme-transition thingy only works on non-chromium based browsers perfectly... so I want to keep this as it looks pretty neat IMO ^^

It's definitely not best practice but I've just "fixed" the transition properties for the tooltip element in 5f63e9ba26372774f9d9786d82caafc35c2bbaea considering that reduced-motion features have not yet landed and this was the easiest solution 😅