Skip to content

Fix hidden search results#1731

Merged
demiankatz merged 2 commits intoUniversalViewer:devfrom
Saira-A:fix-autocomplete
Apr 13, 2026
Merged

Fix hidden search results#1731
demiankatz merged 2 commits intoUniversalViewer:devfrom
Saira-A:fix-autocomplete

Conversation

@Saira-A
Copy link
Copy Markdown
Contributor

@Saira-A Saira-A commented Apr 13, 2026

This fixes the issue found in #1726 where search results hide underneath the image by adding a z-index to the autocomplete function

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

@Saira-A is attempting to deploy a commit to the Universal Viewer Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
universalviewer Ready Ready Preview, Comment Apr 13, 2026 4:17pm

Request Review

padding: 0;
max-height: 300px;
overflow: hidden auto;
z-index: 15;
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.

Thanks, @Saira-A! Just curious where the 15 value comes from. Doing a search through the code, for example, I see some annotations with a z-index of 20. Is it possible there could be conflicts there?

(In any case, I'm happy to approve and merge this if you're confident it's an improvement -- but just want to be sure there aren't other edge cases we're missing, since it's hard to test every scenario).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@demiankatz I went with 15 because it was the lowest value that worked, but can increase it to be safe - could do 25 to make sure it stays in front of annotations?

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.

Yeah, 25 sounds like it might be worth a try. We'd just want to check the various dialog boxes and make sure everything stacks in a logical way. Let me know if you need help with that part!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @demiankatz - looks ok to me but an extra pair of eyes wouldn't hurt :)

Copy link
Copy Markdown
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @Saira-A, I can't find a way to break it. :-)

@demiankatz demiankatz merged commit 14e4865 into UniversalViewer:dev Apr 13, 2026
4 of 5 checks passed
@Saira-A Saira-A deleted the fix-autocomplete branch April 14, 2026 11:00
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