We are having trouble with scrolling of the annotations list on an iPad when the list of annotations exceeds the screen height.
The problems (which are inconsistent) are:
- Sometimes you cannot scroll to the bottom of the list.
- Sometimes the scrolling does not work at all - the tap and drag drags the whole viewer up or down, revealing some white space and then it just pops back to its original position.
We have the following customizations in readerControlCustomConfig:
// Hide the Save Annotations button from the web viewer settings page
$('#saveAnnotationsBtn').parent().hide();
// Hide the Annotations / Bookmarks toggle buttons
$('.annotBookmarkToggleGroup').remove();
Actually with a bit more testing I think that the problems seem to be related to changing orientation - and only seem to affect the app in landscape mode. I can consistently reproduce the problem as follows:
- Have document with a list of annotations that exceeds the page height.
- Open it in landscape mode and view the list of annotations - scrolling should work fine.
- Rotate to portrait mode - again scrolling in the list of annotations works fine.
- Rotate back to landscape mode and view the list of annotations - at this point the first attempt to scroll will not allow you to scroll to the bottom of the list (problem 1 above), the second attempt to scroll will have the affect of dragging the entire viewer (problem 2 above).
- The other thing that I notice at this point is that the document in the viewer, which previously filled the viewer now has been pushed down so it goes off the bottom of the screen. There is no way to see the lower part of the document and there is some blank space up above the document.
Is there something that I need to be doing to handle the orientation changes to avoid these issues?
Kind regards,
David
Regards,
David