question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blur (Backdrop-Filter) not working

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] Bug report => search github for a similar issue or PR before submitting
[ ] Feature request
[ ] Other, please describe

Tell about your platform

  • Vue.js version : 3.2.31
  • Browser name and version : Chrome(100.0.4896.88)|Edge (100.0.1185.44)|Firefox (FF does not support backdrop-filter yet)
  • This package version : 5.0.3

Current behavior The Blur Option does not work (does not blur anything)

Expected behavior Content behind the background should be blured

Minimal reproduction of the problem with instructions Using default settings will already show that the background does not get blured, also additional options do not blur anything. The problem lies in the css setting of “opacity: 0.5” this does make the background div transparent but backdrop-filter does not work with the opacity value. A fix is to use "background: rgba(255,255,255,0.5) instead of “background: #FFF; opacity: 0.5”. Then the blur does worl correctly. Currently i added an addistional sass file which does these settings here:

.vld-parent{
    .vld-background{
        background: rgba(136,136,136,0.5) !important;
        opacity: 1 !important;
    }
}

So i get a grey background which is transparent with the blur working as it should.

Also maybe it would be wise to have different options for the opacity, where one is for the icon and one for the background.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ankurk91commented, May 2, 2022

You can make the blur effect working with a combination of these 3 props, see example:

let loader = this.$loading.show({    
        backgroundColor: 'rgba(136,136,136,0.1)',     
        opacity: 1,
        blur: '2px'
      });
0reactions
ankurk91commented, Oct 29, 2022

The buggy prop has been removed in v6

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS: Workaround to backdrop-filter? - Stack Overflow
i cant seem to get it to work :/ if i apply transform: translate(50%, 50%) to the blurred pseudo element, the blurred image...
Read more >
Why backdrop-filter not working? : r/css - Reddit
first , I thought that it might require a background for blur filter so I added a background image but still its not...
Read more >
backdrop-filter - CSS: Cascading Style Sheets - MDN Web Docs
The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element.
Read more >
Blur filter + opacity behind drop down menu not working
Hi, I am trying to make my sub-menu items look the same as my navigation bar. Main navigation is here. This CSS works...
Read more >
3 Quick Ways to Fix Backdrop Filter Not Working in Firefox
How can I fix the backdrop filter not working issue in Firefox? · 1. Enable backdrop filter preferences · 2. Update Firefox to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found