Skip to content

SCHOL-966: VQA/AQA round 2 - #213

Merged
jackiequach merged 2 commits into
mainfrom
SCHOL-966/vqa-allow-aspect-ratio
Sep 29, 2026
Merged

jackiequach merged 2 commits into
mainfrom
SCHOL-966/vqa-allow-aspect-ratio

Conversation

@jackiequach

@jackiequach jackiequach commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Addresses VQA item 5, AQA items 1, 5, 7 from the QA doc.

  • Reverts change for VQA item 2.
  • Adds minHeight={0} to the web reader manager wrapper since the default minHeight for flex elements is "auto" which would cause the height of the reader to expand to the full height of the pdf content when height="100%" is passed to the web reader component.
  • Adds an example for setting aspect ratio and an example for applying dialog to the web reader when using a custom fullscreen implementation.

Tested locally in Enhanced Search (PR) and in the example app

@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web-reader Ready Ready Preview Sep 28, 2026 8:20pm UTC

Request Review

@jackiequach jackiequach changed the title SCHOL-966: VQA aspect ratio SCHOL-966: VQA/AQA round 2 Sep 28, 2026

@nprotheroNYPL nprotheroNYPL left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, when testing fullscreen in ES I noticed that there is a cut-off. But this is not just in this PR, it is also in our QA environment. Heres a image of how it looks for me:

Image

@jackiequach
jackiequach merged commit fce9bb0 into main Sep 29, 2026
7 checks passed
@jackiequach
jackiequach deleted the SCHOL-966/vqa-allow-aspect-ratio branch September 29, 2026 16:23

This branch was successfully deployed

1 active deployment
Preview — 534898ad Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants