Seems like a new update in NUI caused a bug?

This worked before yesterday. Now the nui get’s black background.

Also, it appears that NUI loses focus randomly… So there’s for sure some new stuff to NUI that causes some bugs in it…

Don’t use backdrop-filter, this was not implemented in older Chrome versions so did nothing, but now leads to black since there is no backdrop at all for these objects.

Not a bug.

1 Like

Why we shouldn’t use backdrop-filter since the only target of the code is the fivem’s chomium version?
This allow us to have some great effects in our interfaces. Why not maintaining the feature ?

What?

This isn’t even our change breaking it, and backdrop-filter atop a transparent background didn’t do anything at all prior (and now leads to a black backdrop, since the transparent background is merely rgba(0,0,0,0.0))

The only thing that changed is that with Chromium actually implementing it, it now has different behavior as mentioned above.

If you want to use backdrop-filter for game UI, place an x-cfx-game-view behind it and use clip-path when you want to show the actual game.

Thank you for the answer, i didn’t wanted to be aggressive, that was just by curiosity.

1 Like