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

switchLanguage makes switching between BrowserViews glitchy #156

Open
vsvipul opened this issue Jul 24, 2019 · 1 comment
Open

switchLanguage makes switching between BrowserViews glitchy #156

vsvipul opened this issue Jul 24, 2019 · 1 comment

Comments

@vsvipul
Copy link

vsvipul commented Jul 24, 2019

Hey, i am working on porting an app from webview to BrowserView. Spellchecker is working on on each browserView with preload script.

Here is the code for preload script and here is the code for spellchecker.

Initially when i launch the app, switching between browserviews is buggy. But when i comment the line-

this.SpellCheckHandler.switchLanguage(serverLanguage);

, then my problem is fixed. Everything works fine after that. This problem is only on Ubuntu and not on MacOS.

Spellchecker version - v2.2.0
Electron version - v5.0.6

This is the error in video -
share.getcloudapp.com/KouLzOAB

Screenshot from 2019-07-25 02-08-46

@vsvipul
Copy link
Author

vsvipul commented Jul 24, 2019

this.SpellCheckHandler.switchLanguage('en-US') does not give any problems while this.SpellCheckHandler.switchLanguage('en'); is the one giving problems.

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

1 participant