Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update thumbnails-overlay after paginating #5276

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

IkramMaalej
Copy link
Collaborator

@IkramMaalej IkramMaalej commented Aug 3, 2022

Fixes #5275

@IkramMaalej IkramMaalej requested a review from solth August 3, 2022 12:35
@solth solth requested review from oliver-stoehr and removed request for solth August 4, 2022 11:33
Copy link
Collaborator

@oliver-stoehr oliver-stoehr left a comment

Choose a reason for hiding this comment

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

It would be better to only update the components that actually change, instead of updating the whole form. You should only update @(.thumbnail-overlay) to update the labels in the overlay with the new pagination.

This is currently not possible with the overlay being rendered by h:panelGroup elements. Bu you could use p:outputPanel instead.

@solth solth merged commit a4049a9 into kitodo:master Aug 10, 2022
@IkramMaalej IkramMaalej deleted the thumbnails-overlay branch November 1, 2022 11:28
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.

Thumbnails overlay in gallery panel do not update after paginating the pages
3 participants