Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webview element doesn't load immediately when put into several tabs #4162

Closed
wsangtoki opened this issue Jan 20, 2016 · 2 comments
Closed

webview element doesn't load immediately when put into several tabs #4162

wsangtoki opened this issue Jan 20, 2016 · 2 comments

Comments

@wsangtoki
Copy link

Hi,

I am new to electron. I tried to build my own Internet browser with several tabs using electron. Each tab contains a webview element. I have put src value to each webview element but I found when I launch the browser only the webview in active tab was immediately loading. The rest of the webviews were not loading. It only starts to load if I select the tab belongs to the webview.

I want the webviews to load immediately when the browser launch. How can I do that?

@JoshTheDerf
Copy link

Try using opacity and z-index to hide the tabs instead of display.

@zcbenz
Copy link
Member

zcbenz commented Jan 20, 2016

This is a duplicate of #1682, in your case, @tribex's advice should work well.

@zcbenz zcbenz closed this as completed Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants