Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calcite Combo-Box Dropdown Falls Outside of MapView When Using Version Management Component #9649

Open
1 of 6 tasks
mdebella10 opened this issue Jun 20, 2024 · 0 comments
Open
1 of 6 tasks
Labels
0 - new New issues that need assignment. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. estimate - 3 A day or two of work, likely requires updates to tests. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone need more info Issues that are missing information and/or a clear, actionable description. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - medium Issue is non core or affecting less that 60% of people using the library

Comments

@mdebella10
Copy link

Check existing issues

Actual Behavior

The Version Management component employs a calcite-combobox dropdown (floating-ui-container) that expands outside of the map view. This is due to it being placed in the upper right corner. This only happens when the text in the dropdown is long, which causes the width to expand to fit the text on a single line.

VMCalciteDropdownDefault

Expected Behavior

Could we add a property to the combox dropdown (floating-ui-container) to set the width so it doesn't expand outside the bounds of the map. The image below has had the dropdown set to the width of the combo-box.

VMCalciteDropdownWidthEqualToComboBox

Reproduction Sample

Message me directly for creds and testing env

Reproduction Steps

  1. Open the component
  2. Select the drop down
  3. Drop down will expand out of bounds

Reproduction Version

2.9.0

Relevant Info

Windows 10 & 11, Chrome & Firefox

Regression?

No response

Priority impact

impact - p1 - need for current milestone

Impact

The scroll bar is obscured when the component expands beyond the limits of the map-view.

Calcite package

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

Esri team

ArcGIS Online

@mdebella10 mdebella10 added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Jun 20, 2024
@github-actions github-actions bot added ArcGIS Online Issues logged by ArcGIS Online team members. calcite-components Issues specific to the @esri/calcite-components package. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone labels Jun 20, 2024
@geospatialem geospatialem added estimate - 3 A day or two of work, likely requires updates to tests. p - medium Issue is non core or affecting less that 60% of people using the library needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. need more info Issues that are missing information and/or a clear, actionable description. and removed needs triage Planning workflow - pending design/dev review. labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. estimate - 3 A day or two of work, likely requires updates to tests. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone need more info Issues that are missing information and/or a clear, actionable description. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - medium Issue is non core or affecting less that 60% of people using the library
Projects
None yet
Development

No branches or pull requests

2 participants