[
https://issues.apache.org/jira/browse/OPENMEETINGS-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Wagner updated OPENMEETINGS-2308:
-------------------------------------------
Description:
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-53-06-418.png|width=644,height=315!
$( 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
); }
} );
was:
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 );
}
} );
> 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
> Affects Versions: 5.0.0-M4
> Reporter: Sebastian Wagner
> Assignee: Sebastian Wagner
> Priority: Major
> Fix For: 5.0.0-M5
>
> Attachments: image-2020-04-27-15-51-25-519.png,
> image-2020-04-27-15-52-26-864.png, image-2020-04-27-15-53-06-418.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-53-06-418.png|width=644,height=315!
>
> $( 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)