Skip to content

Conversation

@jamesmisson
Copy link
Contributor

This is a proposal for a new arrangement of the panel divs that has a few benefits for the feel of UV and for ease of future UI work.

Currently the mainPanel contains leftPanel, centerPanel, and rightPanel as siblings in a row. This means that when left and right panels are opened/closed, the center panel resizes, making the OSD image briefly flicker and transform.

This PR puts the OSD viewer in a new backgroundPanel which sits behind the left, center, and right panels, which are contained in a new overlayPanels div. The centerPanel is used as a transparent container for the various bits and pieces that overlay the image: image control buttons, paging buttons, OSD navigator, page mode buttons. This enables them to behave as authentic overlays rather than the illusion of overlays used in the current version of UV, which I think gives a more polished feel in general and prevents the image flicker on panel resize.

Besides cosmetic improvements, embracing the third dimension will allow more economical use of space when we try different arrangements of the transcription panel UI (e.g. it makes user-resizable panels easier to implement, and allows content to expand over other content if needs be).

Only the OSD extension has been given this treatment here, it currently breaks the AV extensions.

This depends on the new header and buttons PR here: #1557

@vercel
Copy link

vercel bot commented Jan 9, 2026

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

Project Deployment Review Updated (UTC)
universalviewer Ready Ready Preview, Comment Jan 13, 2026 0:30am

@vercel
Copy link

vercel bot commented Jan 9, 2026

@jamesmisson is attempting to deploy a commit to the BL UV team Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants