I know that Mobile Safari won\'t fire events while in \"momentum\" (-webkit-overflow-scrolling: touch;) scrolling. But this is not entirely the same thing, because Safari ha
You can fix the problem by removing the selection and setting it again. Using jQuery here is the Javascript to do so. I add the event handler when entering edit mode:
$(document).on('scroll.inline-edit', function(event) {
var selection = window.getSelection();
if (selection.rangeCount) {
var range = selection.getRangeAt(0);
selection.removeAllRanges();
selection.addRange(range);
}
});
When I exit edit mode I remove the event handler:
$(document).off('scroll.inline-edit');
This will probably also work if the event handler is always enabled.