-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blurry and translucent background on a transparent window #2827
Comments
This is the expected behavior on Linux and Windows, The solution is to blur the window itself. It is not currently implemented and needs to be added in upstream first, subscribe to this tauri-apps/tao#137 |
for anyone interested in this issue, I made a https://github.com/tauri-apps/tauri-plugin-vibrancy to experiment with the feature. it supports tao and tauri and I'd appreciate feedback on different Windows versions, macOS support will be added later. Edit: macOS is now supported. |
Closing this since you can try out the plugin from Amr now. The feature might land in tauri v2. |
@lucasfernog Do we have any news about this for v2 ? |
Is your feature request related to a problem? Please describe.
I'm trying to use a blurry background on a transparent window element (sidebar).
Describe the solution you'd like
Use
backdrop-filter
along with a transparent window to achieve a blurry background.Describe alternatives you've considered
I've also tried to use
-webkit-filter: blur(20px)
, but same thing happens.Additional context
The following screenshots were taken with a transparent window -
transparent: true
on tauri.conf.json. The window is in front of my OS wallpaper.backdrop-filter: blur(20px)
and also abackground: rgba(238, 238, 244, 0.5)
. On the right side I have another but withbackground: transparent
.<body>
, the desired blur effect appears.Conclusion: The blur effects appears only when the image is part of the application, and doesn't consider what is behind the transparent window. Should it?
Info
tauri.conf.json
The text was updated successfully, but these errors were encountered: