Skip to content

fix(search-filters): resolve Safari facet values overlap bug (#5468)#5474

Open
yw13931835525-cyber wants to merge 1 commit intoDSpace:mainfrom
yw13931835525-cyber:fix/safari-facet-overlap-bug
Open

fix(search-filters): resolve Safari facet values overlap bug (#5468)#5474
yw13931835525-cyber wants to merge 1 commit intoDSpace:mainfrom
yw13931835525-cyber:fix/safari-facet-overlap-bug

Conversation

@yw13931835525-cyber
Copy link
Copy Markdown

Summary

Fixes #5468

The facet filter values were overlapping adjacent filters in Safari due to missing overflow containment in the search filter wrapper.

Changes

  • Added overflow: hidden to .search-filter-wrapper in search-filter.component.scss
  • Removed the conditional &.closed class since overflow should always be hidden

Root 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

  1. Open a results list with facet filters
  2. Open any filter with facet values on Safari
  3. Verify that opened facet values display without overlapping other filters

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

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

Filter facet values overlap other filters in results list and become unusable on Safari

1 participant