Skip to content

[autocomplete] Add CSS var to allow customizing max-height #12486

Open
@rpanichakit9541

Description

@rpanichakit9541

Check existing issues

Description

When use inside dialog, the autocomplete dropdown can become too tall and is clipped by the footer. It would be helpful to be able to customize the max-height vis a CSS variable.

Acceptance Criteria

A CSS variable is exposed that can be used to customize the max-height of the dropdown.

Relevant Info

Here's the property we're trying to customize
Image

Here's the issue where this came up https://devtopia.esri.com/WebGIS/arcgis-portal-app/issues/60389

Which Component

calcite-autocomplete

Example Use Case

No response

Priority impact

impact - p3 - not time sensitive

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.ArcGIS OnlineIssues logged by ArcGIS Online team members.enhancementIssues tied to a new feature or request.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveneeds triagePlanning workflow - pending design/dev review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions