Snap of an Electron app GTK3 dialog not themed


I have a small electron UI for docker. Using electron-builder to build the snap. When running from the unpacked build. The dialogs look just fine. But when running from the snap package, the dialog does not reflect any GTK3 theme. No drop-shadow, border or style at all. Does anyone know if this is an electron-builder issue or a snap package issue? BTW, I’m, using classic confinement.


Did you find a solution for this? I have the same with a GTK3 Vala application. Building from source works fine but the snap does not show the shadows around the window.


Played a bit more with this. The theming looks fine in Adwaita or HighContrast but not in Ambiance or Radiance. Tried this on Ubunutu 18.04.