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

List in panel with list items with more than one action with tooltips causes horizontal overflow #9674

Closed
2 of 6 tasks
COV-GIS opened this issue Jun 24, 2024 · 4 comments
Closed
2 of 6 tasks
Labels
0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.

Comments

@COV-GIS
Copy link

COV-GIS commented Jun 24, 2024

Check existing issues

Actual Behavior

List in panel with list items with more than one action with tooltips causes horizontal overflow.

Expected Behavior

No horizontal overflow.

Reproduction Sample

https://codepen.io/COV-GIS/pen/xxNzVxO

Reproduction Steps

Comment out/in the tooltip in the second action. Doing so on the first tooltip does nothing.

Invoking tooltips, clicking actions and adding additional list items can cause additional sizing problems.

Non-panel example w/o the issue: https://codepen.io/COV-GIS/pen/XWwYKme?editors=1000

Reproduction Version

2.9.0

Relevant Info

No response

Regression?

I believe it started when this was fixed: #8611

Priority impact

impact - p3 - not time sensitive

Impact

Low. Mainly aesthetics.

Feel free to improve the title of this issue.

Calcite package

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

Esri team

N/A

@COV-GIS COV-GIS 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 24, 2024
@github-actions github-actions bot added calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive labels Jun 24, 2024
@geospatialem
Copy link
Member

geospatialem commented Jun 25, 2024

@COV-GIS Would the following solution of adding overlay-position="fixed" to the tooltips accommodate the need? https://codepen.io/geospatialem/pen/Jjqmoba

@COV-GIS
Copy link
Author

COV-GIS commented Jun 26, 2024

Setting overlay-positioning="fixed" on the tooltip resolves the panel overflow issue. I'd prefer not to have tooltips be outside the panel, or have to set overlay-positioning and placement properties. https://codepen.io/COV-GIS/pen/xxNzVxO?editors=1000

Thanks @geospatialem. This is an acceptable workaround.

@geospatialem
Copy link
Member

Awesome, glad that helps and placement is another great attr/prop! As far as the above, we can work on some documentation samples, but otherwise, good to close the above out, @COV-GIS?

@COV-GIS
Copy link
Author

COV-GIS commented Jun 28, 2024

Check roger.

@COV-GIS COV-GIS closed this as completed Jun 28, 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. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

2 participants