You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@danxuliu I tested this and it works fine generally but I don't know why and if it is caused by this PR but somehow the pdf viewer has two scrollbars now:
Strangely enough I have not been able to reproduce the double scroll bar issue, but it should be caused by the same change that made the PDF viewer to no longer be shown in full screen. Maybe it depends on the PDF file, I do not know 🤷
<div class="modal-container".../> <!-- "overflow: visible !important" from Viewer.vue -->
<div class="modal-container__content".../> <!-- "overflow: auto" from NcModal.vue -->
<div class="viewer__content".../> <!-- "overflow: visible !important" from Viewer.vue -->
Setting overflow: visible !important for .modal-container__content in PDFView.vue is not possible as far as I know, as the component is loaded inside the content itself, and therefore it can not modify the rules of the parent element (but I might be wrong, my Vue-fu is quite rusty :-) ). However, I do not know if overriding that in the viewer itself like done for the others would be a good idea, as that change was introduced to ensure that the close button of the modal is visible even if the content is scrolled, and if the overflow is visible I guess that could bring back the issue. On the other hand, that would happen only in the viewer, other modals would not be affected, and maybe it could be required that viewer handlers are responsible to handle the scrolling to ensure that it only affects its own content. Or maybe there is another solution that I am missing, of course :-)
@danxuliu I tested this and it works fine generally but I don't know why and if it is caused by this PR but somehow the pdf viewer has two scrollbars now:
Reproduced on NC28
Originally posted by @szaimen in #787 (review)
The text was updated successfully, but these errors were encountered: