New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pdf page no longer working properly on ipad #284
Comments
Just tested the pdf option in the bootstrap template and that's stopped working properly on iPad too e.g. same issue can't now scroll beyond first page. |
Hi Ron, When you say "an existing project template" are you able to test this on any setup of xot v2.0 or v1.9? Do these still work or is it the ipad that has caused this? Is it Safari only or any other browsers? |
Hi John I don't think the pdf page type ever existed in 2.1 or earlier, I think Julian added that relatively recently. I can't be 100% sure the XOT template version worked on iPad but I think it did and I'm pretty sure the Bootstrap version did but now doesn't. I can't be certain about or evidence that because the two online installations I've been using with develop code are installations I've been keeping up-to-date after numerous commits so both now have the same problem with the pdf not showing more than the first page. I might have a local xampp install that is an earlier revision so I'll see if I can change that to access via IP and test on my ipad. I'll respond once I've tested that. |
Ok, I'll have a play around with it tomorrow. Haven't used it so wasnt aware that it was a recently added page. |
Hi John |
It seems that this is normal on an ipad... apparently it can be done using a library such as pdf.js (demo - http://mozilla.github.io/pdf.js/web/viewer.html) though and I tested their demo and it worked on our ipads... So we could detect ipads (http://stackoverflow.com/questions/4617638/detect-ipad-users-using-jquery/12999154#12999154) and shoehorn in a library and some different code if this is acceptable to people? |
xenith.js already does a check for iOS (x_browserInfo.iOS) you can use (or amend if you need to) |
Tested this and it seems that when you push up the pdf with two fingers next to each other you can scroll up the page. |
@ingedonke does that work for you with this example: http://training.mitchellmedia.co.uk/xot/play.php?template_id=74 I can't get the pdf to scroll on ipad whatever I try :-( |
Hi Ron, Yes it works fine. Don't know if you can force scrollbars.... Bye, 12Changebv Chopinlaan 27 T twitter http://twitter.com/12ChangeLearn
|
Just a point of clarification... |
I can't get it to scroll either in Safari on iPad with any type of swipe I was wondering about forcing a scroll bar to be visible in iOS so you'd have to move that rather than swipe on pdf. I've got this half working but for some reason it's working in the opposite way to how it should work - the scroll bar is there but dragging the handle down doesn't do anything, you have to swipe up on the scroll bar to get the handle to move down and the page to scroll. I'll see if I can get this working properly but I think you're right that it shouldn't be a blocker to the release. |
Hi all, Here my fingers and my iPad.... it works ... Bye, 12Changebv Chopinlaan 27 T twitter http://twitter.com/12ChangeLearn
|
Hi Inge |
Fixed this (sort of anyway). The first page of pdf will show & scroll and there's a link below it to open the whole PDF in a new tab. |
This is still an issue in the Bootstrap template (see http://www.xerte.org.uk/index.php?option=com_kunena&view=topic&catid=4&id=1014&Itemid=207&lang=en) |
this has changed recently as it was working on iPad as well as desktop but not sure what revision has caused it not to work.
An existing XOT template project which was working fine now only shows the first page of the pdf without the ability to scroll to lower pages.
Here's a test project: http://training.mitchellmedia.co.uk/xot/play.php?template_id=74 works on desktop but not on iPad.
The text was updated successfully, but these errors were encountered: