From ff2d0050587c3fb0a81f8b48aebca00725080988 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Tue, 29 Mar 2016 10:47:31 -0700 Subject: [PATCH] Add "black background?" to FAQ Closes #4937 --- docs/faq/electron-faq.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/faq/electron-faq.md b/docs/faq/electron-faq.md index 41b301d71981..77d1fca66e9a 100644 --- a/docs/faq/electron-faq.md +++ b/docs/faq/electron-faq.md @@ -144,6 +144,17 @@ is very likely you are using the module in the wrong process. For example `electron.app` can only be used in the main process, while `electron.webFrame` is only available in renderer processes. +## Why is my app's background transparent? +Since Electron `0.37.3`, the default user-agent background color is `transparent`. Simply specify a background color in HTML; + +```html + +``` + [memory-management]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management [variable-scope]: https://msdn.microsoft.com/library/bzt2dkta(v=vs.94).aspx [electron-module]: https://www.npmjs.com/package/electron