Skip to content

feat(ui5-search): max-height for suggestions dropdown#13603

Open
aleksandar-terziev wants to merge 1 commit into
mainfrom
suggestion-dropdown-max-height
Open

feat(ui5-search): max-height for suggestions dropdown#13603
aleksandar-terziev wants to merge 1 commit into
mainfrom
suggestion-dropdown-max-height

Conversation

@aleksandar-terziev

@aleksandar-terziev aleksandar-terziev commented May 28, 2026

Copy link
Copy Markdown
Contributor

JIRA: BGSOFUIRILA-4504

  • expose popover to allow dynamic max-height for the search popover

  • default max-height is 39rem

@aleksandar-terziev aleksandar-terziev requested a review from MapTo0 May 28, 2026 11:54
@ui5-webcomponents-bot

ui5-webcomponents-bot commented May 28, 2026

Copy link
Copy Markdown
Collaborator

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 28, 2026 12:01 Inactive
@ivoplashkov ivoplashkov requested a review from niyap June 2, 2026 07:37
Comment thread packages/fiori/src/Search.ts Outdated
* @public
* @since 2.9.0
* @experimental
* @csspart search-popover - Used to style the suggestions popover content

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would strip search from the name as the component is Search, so maybe popover, dropdown, or suggestion-popover

ilhan007
ilhan007 previously approved these changes Jun 4, 2026

@ilhan007 ilhan007 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

minor comment regarding the part name, otherwise seems fine + 1

@TeodorTaushanov TeodorTaushanov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

max-height should work on component level:

<ui5-popover
style="max-height: 200px">
</ui5-popover>

However, it isn’t working at the moment. I’ve opened issue #13663 for this. Once it’s fixed, the root part won’t be necessary.

JIRA: BGSOFUIRILA-4504

- expose `popover` to allow dynamic max-height for the search popover

- default max-height is 39rem
@TeodorTaushanov

Copy link
Copy Markdown
Member

+1 for the ui5-popover part

@TeodorTaushanov

TeodorTaushanov commented Jun 11, 2026

Copy link
Copy Markdown
Member

#13668 is merged

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.

4 participants