sandanat / vue-pdf-app

VUEjs v2 PDF viewer based on Mozilla's PDFJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong resizing behavior of UI

kingyue737 opened this issue · comments

Please provide a working example with a bug (git repo, codesandbox, source code at least, etc).
It takes a lot of time to set up environment to confirm an issue.
So I will resolve issues faster.

https://codepen.io/kingyue737/pen/rNzVwKK

Configuration:

  • Web browser and it`s version: chrome
  • Operating system and it`s version:
  • vue-pdf-app version: 2.1.0

Steps to reproduce the problem:

What is the expected behavior?

When vue-pdf-app's width is small, buttons should be hidden and expanded sidebar should float over pdf.

What went wrong?

Buttons overflows the toolbar and the sidebar pushes pdf pages instead of covering it.
It seems that vue-pdf-app's ui resizes according to viewport instead of its own size or its parent.

Attachments (screenshots, links, etc)

image
image

Closing as this repo not maintained any more