You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Sebastian Wagner (Jira)" <ji...@apache.org> on 2020/04/27 03:53:00 UTC
[jira] [Created] (OPENMEETINGS-2308) Android bootstrap touch event
doesn't work
Sebastian Wagner created OPENMEETINGS-2308:
----------------------------------------------
Summary: Android bootstrap touch event doesn't work
Key: OPENMEETINGS-2308
URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2308
Project: Openmeetings
Issue Type: New Feature
Reporter: Sebastian Wagner
Assignee: Sebastian Wagner
Attachments: image-2020-04-27-15-51-25-519.png, image-2020-04-27-15-52-26-864.png
Under Android you get a lot of exceptions like this:
!image-2020-04-27-15-51-25-519.png|width=1302,height=215!
Almost every click event fails.
Clicking in the Android remote debugger you can find this code snippet referenced that doesn't work:
!image-2020-04-27-15-52-26-864.png|width=1114,height=184!
$( window ).bind( "touchend", function( e ) {
var isInside = ( editor.is( e.target ) || editor.has( e.target ).length > 0 ),
currentRange = this.getCurrentRange(),
clear = currentRange && ( currentRange.startContainer === currentRange.endContainer && currentRange.startOffset === currentRange.endOffset );
if ( !clear || isInside ) {
this.saveSelection();
this.updateToolbar( editor, toolbarBtnSelector, options );
}
} );
--
This message was sent by Atlassian Jira
(v8.3.4#803005)