-
Notifications
You must be signed in to change notification settings - Fork 42
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
No way to close the pdf viewer on mobile/in portrait mode #279
Comments
We need to add a way for viewer types to register if they want the clear-view feature enabled or not. |
+1: I also have this problem, would be awesome if fixed! Effected devices / browsersEncountered this unwanted behaviour on Android 11 (Chrome 87.0 & FF 84.1), IOS 14.3 (Safari) and Windows 10 with small browser window sizes (FF 84.0 & Chrome 87.0). I run Nextcloud version 20.0.4 and PDF viewer 2.0.1 (according to the Nextcloud Apps overview) Possible correct behaviourSome sort of close button would obviously be nice. In addition: closing the whole PDF modal when the browser's back button is pressed (via window.onpopstate) would, in my opinion, be very intuitive. |
+1, and I also see this problem, really looking forward to the fix. I get out of the situation: press "refresh page" and press "cancel" or press "back" and "refresh" |
I am also experiencing this issue. Would it be possible to get the Close menu option back? I am aware that it was deliberately eliminated from the menu, but in my opinion, it would be better to have two options in all cases to close the viewer rather than none in some cases. |
Displaying linear (web optimised) PDFs can be enabled on Chrome using this extension https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm (which in turn uses pdf.js) |
This comment has been minimized.
This comment has been minimized.
@skjnldsv is this something that must get fixed in the viewer repository or here? Do you have some pointers? |
We need to add an option in the way apps register viewer rendering modules to disable the fade-out of the menus. So should be in viewer AND then here. |
https://github.com/nextcloud/viewer/blob/b3eb0913bff415f3ca30661b997ba27fa3ea6373/src/views/Viewer.vue#L29 Add an Lines 26 to 35 in 92eec1d
And use the handler |
When can this change be expected to land in the updates? |
In the next minor updates |
Thank you for your swift answer! |
The issue is closed but I still have this issue in the iOS app and in Safari mobile, would it be best to upload screenshots here? |
It will be fixed with the next releases |
Steps to reproduce
Expected behaviour
should be able to close the pdf viewer
Actual behaviour
cannot close the pdf viewer
Screenshots
The text was updated successfully, but these errors were encountered: