given height and scroll on search sidebar in mobile view#4505
given height and scroll on search sidebar in mobile view#4505GauravD2t wants to merge 3 commits intoDSpace:mainfrom
Conversation
Hello, @tdonohue Yes, the issue still persists. I tested it again and was able to reproduce the problem described in this issue. The behavior is still the same on my side. Please let me know if you need any additional information or steps to reproduce. Thanks. |
|
Dear @GauravD2t, sorry for my earlier error. I can confirm the bug still exists, but unfortunately your fix did not seem to solve the issue, as you can see in my screenshot from my test:
|
|
Dear @tinsch I have also tested the scenario on my side, and it appears to be working with the applied fix. For better clarification, I have attached a screenshot and a short video demonstrating the behavior after the fix. Could you please review them and let me know if I might be missing any specific steps to reproduce the issue on your side? I’ll be happy to investigate further and adjust the fix if needed. Thank you! DSpace.mp4
|
|
@GauravD2t I tested it again, both in Firefox and Chrome mobile mode. Your fix does not help with the bug in both cases on my device. Setting the Just to add a small note: In my local test I don't have a filter list as long as your list. So that might be somehow related with me not being able to reproduce the fixed state on your branch. Maybe you could also test it with a shorter list of filters on your side. The footer overflows the width of the screen, but that seems to be another bug unrelated to this issue here. |
Hi @tinsch , thanks for testing this again and for the detailed feedback. In my tests, the issue seemed to be related to the height of the .sidebar-content container when the filter list becomes long. To address this, I added a fixed height and enabled scrolling: @include media-breakpoint-down(md) { //mobile view css } This allowed the sidebar content to scroll correctly and the footer to remain accessible. |
|
Yes @GauravD2t I saw the changed file in this PR. Nevertheless, your fix does not work on my side. Could you try out my fix and see if it has the same effect on your side? |
Hi @tinsch, thank you for the suggestion. I tested the change you proposed and updated the sidebar styles to use: .sidebar-content { This avoids the fixed height approach and allows the sidebar to scroll properly when the filter list becomes long, while keeping the footer accessible. I tested this locally in mobile view and it seems to behave correctly on my side. Could you please check again when you have a moment and confirm if it works better for you? Thanks again for the helpful feedback. |
|
Yes, I already checked it and it works fine for me. I will approve it, thanks for your contribution! |
|
Dear @GauravD2t, for your next PR: Could you please fill in the PR template, and the checklist? This makes it easier for testers and reviewers to review your contribution. Thanks! |





References
Fixes Search sidebar overflows over the footer in mobile mode on pages with only one result #2563
Requires DSpace/DSpace#pr-number (if a REST API PR is required to test this)
Description
given height and scroll on Search sidebar overflows over the footer in mobile mode on pages with only one result
@tdonohue
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:
Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.