Skip to content

overflow and scrollbars #8

@lfoppiano

Description

@lfoppiano

When the component is loaded, it pushes the scrolling back down. We should add an option that allow the component to have a overflow:scrolling.

Tasks

  • The user does not set any parameters (e.g. pdf_viewer(file)) -> we unwrap the PDF (no scroll bars, every page one after the other)
  • The user does set height = 700 (absolute number) -> then we show the scrollbars and limit the window to the height
  • The user does set height = 80% (relative number) -> same as previous, show the scrollbars and limit the window to the height because streamlet.setFrameHeight doesn't support relative number

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions