[Bug]: display look very broken when the window is very small
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 53.9k
- Forks
- 10.7k
- Avg merge
- 18h 38m
- Merged PRs (30d)
- 130
Description
Attach (recommended) or Link to PDF file
https://drive.google.com/file/d/1AFQYV50Jy-5J8P3x04YZeGxlQNLmnyqn/
Web browser and its version
Firefox 149.0.2 (aarch64)
Operating system and its version
macOS Tahoe Version 26.4.1
PDF.js version
v5.6.205
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
- press
/to open up quick search to make the effect more dramatic. - make the window very small.
What is the expected behavior?
The text in the UI should be displayed interactively in a way that reflects natural behavior.
What went wrong?
The display of elements like doorHangerRight menu for Document Outline or viewsManagerHeaderLabel look very broken when the window is very small.
Link to a viewer
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the PDF.js viewer with Firefox on macOS: open quick search with / and shrink the window substantially. Inspect the responsive behavior of the doorHangerRight menu and viewsManagerHeaderLabel at that size. Done means the affected UI text and controls remain naturally readable and interactive in very small windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100