项目作者: CharlieHess

项目描述 :
Demonstrates webview visibility issues in Electron
高级语言: JavaScript
项目地址: git://github.com/CharlieHess/webview-stack.git
创建时间: 2017-06-16T18:54:18Z
项目社区:https://github.com/CharlieHess/webview-stack

开源协议:

下载


webview-stack

This is a minimal repro of https://github.com/electron/electron/issues/8505.
It demonstrates the recommended workaround (not setting visibility while the webview is loading), but also shows the limitations of this approach.

It seems that:

  • In some cases we can’t rely on z-index for visibility
    • This can result in webview pages bleeding into one another
  • webviews will still render blank white screens, particularly when switching between them quickly or when a switch triggers a navigation