-
Notifications
You must be signed in to change notification settings - Fork 2
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 click targets in search results slideshow modal #1371
Comments
@ggeisler (or @jacobthill) this change is ready for review. |
Thanks @thatbudakguy. @ggeisler this looks good to me but I would prefer you to confirm this before calling it done. |
@jacobthill Yep, this looks perfect. Thanks @thatbudakguy! |
@jacobthill Target clicks looks ok, but I noticed that the slideshow view allows you to go through the current page of search results only. So in the above example (https://dev.dlmenetwork.org/library/catalog?q=qatar&search_field=all_fields&view=slideshow) clicking on right arrow to see next item instead of item 13 will give you item 1: |
@jacobthill i think this problem is actually already tracked on the |
Yes, that Blacklight Gallery ticket @thatbudakguy found (thanks!) is still valid and fixing it should fix the problem @mwerla noted. Just to update things, I added a comment on the Blacklight Gallery ticket with the behavior I'd expect. |
[Edit: I now see I filed a ticket in blacklight-gallery about this earlier this year]
In the search results slideshow modal, the previous and next button click targets appear offset. As shown below (and this seems consistent in Firefox, Chrome, and Safari), we have a large click target, which is good, but instead of starting at the top of the modal, it seems to start at the button itself, and then extends down the height of the modal (but because it is offset, that target extends below the modal):
The click target should be shifted up, so that it extend from the top of the modal (leaving room for the close button) to the bottom edge.
I saw several users get frustrated (or at least confused) by this when using the slideshow view.
Note that this would be work on the
blacklight-gallery
gem, so would benefit any project that uses that gem, including Stanford Exhibits, where I also see the problem.The text was updated successfully, but these errors were encountered: