mirror of https://github.com/axmolengine/axmol.git
fix keyback bug after opened a page (#18153)
bug happen when: 1.implement keyback in a scene 2.implement webview in that scene and load a default URL 3.click any link and wait for it to load 4.press key back, the implemented keyback will not be called
This commit is contained in:
parent
2c025d8048
commit
6d50a844d4
|
@ -50,7 +50,7 @@ public class Cocos2dxWebView extends WebView {
|
|||
this.mJSScheme = "";
|
||||
|
||||
this.setFocusable(true);
|
||||
this.setFocusableInTouchMode(true);
|
||||
this.setFocusableInTouchMode(false);
|
||||
|
||||
this.getSettings().setSupportZoom(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue