damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.66k stars 414 forks source link

Vertical scrollbar not exported to HTML #629

Open aoeftiger opened 1 year ago

aoeftiger commented 1 year ago

I have enabled the vertical scrollbar via metadata 'scroll': 'true' (cf. RISE doc) and it works fine in live presentation mode.

Upon exporting to HTML, however, the scrollbar setting gets lost and vertically extending slide contents will simply be cut and become unaccessible.

I'm running nbconvert==7.2.5, notebook==6.5.2 and rise==5.7.1 .. (I have seen this effect in both chromium 105.0.5195.102 and firefox 104.0)

aoeftiger commented 1 year ago

minimal working example: https://github.com/aoeftiger/mwe-vertical-scrollbar-rise/tree/main

aoeftiger commented 1 year ago

remark: horizontal scrollbars seem to persist in both live presentation mode and HTML slides...

aoeftiger commented 1 year ago

I noted that the HTML MWE was not easy to see, here's a github.io version: https://aoeftiger.github.io/mwe-vertical-scrollbar-rise

--> one can clearly see that the vertical scrollbar is not present on the HTML version of the slides, while the overflow on the lower part of the output is cut from view (in a typical viewport with 4:3 or similar ratio).

image

Hongao0611 commented 1 month ago

I am facing the same issue, would you like to share if you have found any solutions to this?