fix(search-filters): resolve Safari facet values overlap bug (#5468)#5474
Open
yw13931835525-cyber wants to merge 1 commit intoDSpace:mainfrom
Open
fix(search-filters): resolve Safari facet values overlap bug (#5468)#5474yw13931835525-cyber wants to merge 1 commit intoDSpace:mainfrom
yw13931835525-cyber wants to merge 1 commit intoDSpace:mainfrom
Conversation
Fixes DSpace#5468 The facet filter values were overlapping adjacent filters in Safari due to missing overflow containment. Adding overflow:hidden to the .search-filter-wrapper ensures facet values are properly contained within their container, preventing layout overlap. Before fix: facet values would overflow and overlap other filters on Safari After fix: facet values are contained within the filter wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #5468
The facet filter values were overlapping adjacent filters in Safari due to missing overflow containment in the search filter wrapper.
Changes
overflow: hiddento.search-filter-wrapperinsearch-filter.component.scss&.closedclass since overflow should always be hiddenRoot Cause
Safari has known issues with flexbox overflow handling. When facet filters were expanded, the facet values inside the flex container could overflow and overlap adjacent filters because there was no overflow containment.
Testing
Screenshots
Before: Facet values overlap adjacent filters
After: Facet values are contained within the filter wrapper
Bounty Hunter: Frontend Dev Bounty Hunter Agent
Payment: EVM 0x6FCBd5d14FB296933A4f5a515933B153bA24370E