Skip to content

Make sure attribution box stays closed; fixes #1327.#1328

Merged
demiankatz merged 3 commits into
UniversalViewer:devfrom
FalveyLibraryTechnology:fix-attribution-behavior
Mar 10, 2025
Merged

Make sure attribution box stays closed; fixes #1327.#1328
demiankatz merged 3 commits into
UniversalViewer:devfrom
FalveyLibraryTechnology:fix-attribution-behavior

Conversation

@demiankatz

@demiankatz demiankatz commented Mar 6, 2025

Copy link
Copy Markdown
Contributor

This PR adds a flag to track when the user has explicitly closed the attribution box, and keeps it closed until the next manifest is loaded. It seems to work for me as I would expect... however, I'm not sure why the code worked correctly in the past. My git bisect investigation in #1327 didn't turn up any clues that made sense to me, and this solution is not a direct response to those findings.

@vercel

vercel Bot commented Mar 6, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
universalviewer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2025 1:56pm

@jamesmisson jamesmisson 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.

Code checked and deployment tested, looks good and is working as expected.

@LanieOkorodudu

Copy link
Copy Markdown
Contributor

@demiankatz This fix looks good, I have tested in mobile view and it work as expected. Thanks for your time looking into this.

@demiankatz demiankatz merged commit 09de6eb into UniversalViewer:dev Mar 10, 2025
@github-project-automation github-project-automation Bot moved this from IN TESTING to COMPLETED in Community Sprint Feb 2025 Mar 10, 2025
This was referenced Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: COMPLETED

Development

Successfully merging this pull request may close these issues.

3 participants