Backdrop-filter compatibility in electron


#1

Hi, I have a problem with a CSS property, backdrop-filter. In the electron inspector, it says that it does not know what the backdrop-filter property is. Is there a way to fix this?

Thanks


#2

It’s not supported by Chromium (which Electron is based on): http://caniuse.com/#feat=css-backdrop-filter

It looks like it’s accessible from behind a flag but, as far as I can tell, it’s not a flag accessible from Electron


#3

This is now possible by enable experimental web platform features and not prefixing backdrop-filter: blur(10px);

i.e

  mainWindow = new BrowserWindow({
    height: 1000,
    width: 1600,
    webPreferences: {
      experimentalFeatures: true
    }
  })

#4

OH MY GOD!! AWESOME!!!

Thx for this info!