Fix webview doesn't get focus correctly
For #231 webview.focus() was used to focus on the webview, but it's DOM element function. So only the tag was focused in the host window, and its webContents was not focused. As the result, the shortcuts of Mattermost server didn't work in some cases. Electron is upgraded to 1.2.8 because of webContents.isFocused().
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
"electron-builder": "5.2.1",
|
||||
"electron-connect": "^0.4.4",
|
||||
"electron-packager": "^7.0.1",
|
||||
"electron-prebuilt": "1.2.7",
|
||||
"electron-prebuilt": "1.2.8",
|
||||
"electron-winstaller": "^2.2.0",
|
||||
"esformatter": "^0.9.6",
|
||||
"esformatter-jsx": "^7.0.1",
|
||||
|
Reference in New Issue
Block a user