You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/21 21:00:45 UTC
[GitHub] [cordova-android] goffioul opened a new pull request #1157: GH-1156: Restore key event handlers when a DOM element is fullscreen
goffioul opened a new pull request #1157:
URL: https://github.com/apache/cordova-android/pull/1157
Make sure to call dispatchKeyEvent from base class in WrapperView, if the event hasn't been handled by the engine.
Fixes #1156
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-android] erisu merged pull request #1157: fix: restore key event handlers when DOM element is fullscreen
Posted by GitBox <gi...@apache.org>.
erisu merged pull request #1157:
URL: https://github.com/apache/cordova-android/pull/1157
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-android] erisu commented on a change in pull request #1157: GH-1156: Restore key event handlers when a DOM element is fullscreen
Posted by GitBox <gi...@apache.org>.
erisu commented on a change in pull request #1157:
URL: https://github.com/apache/cordova-android/pull/1157#discussion_r563447227
##########
File path: framework/src/org/apache/cordova/CordovaWebViewImpl.java
##########
@@ -255,7 +255,12 @@ public WrapperView(Context context, CordovaWebViewEngine engine) {
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
- return engine.getView().dispatchKeyEvent(event);
+ boolean ret = engine.getView().dispatchKeyEvent(event);
+ if (! ret) {
Review comment:
```suggestion
if (!ret) {
```
That space :D
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-android] erisu commented on a change in pull request #1157: GH-1156: Restore key event handlers when a DOM element is fullscreen
Posted by GitBox <gi...@apache.org>.
erisu commented on a change in pull request #1157:
URL: https://github.com/apache/cordova-android/pull/1157#discussion_r563447227
##########
File path: framework/src/org/apache/cordova/CordovaWebViewImpl.java
##########
@@ -255,7 +255,12 @@ public WrapperView(Context context, CordovaWebViewEngine engine) {
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
- return engine.getView().dispatchKeyEvent(event);
+ boolean ret = engine.getView().dispatchKeyEvent(event);
+ if (! ret) {
Review comment:
```suggestion
if (!ret) {
```
That space :D
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org