Tooltip impacts layout #11378
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 2
Small fix or update, may require updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Check existing issues
Actual Behavior
The
<calcite-tooltip>
element itself is treated as a component with layout that impacts the flow of content. For example, within a flex layout the tooltip takes up a content box:Expected Behavior
The tooltip element does not have an impact on layout.
Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/MYgzWEK
Reproduction Steps
Reproduction Version
3.0.0-next.111
Relevant Info
Suggested fix is to have the tooltip style its
:host
withdisplay: contents;
.Regression?
2.13.2
Priority impact
impact - p3 - not time sensitive
Impact
The issue is easy to work around by giving the tooltip
contents
display externally. However, this issue does represent a backwards compatibility break with how tooltips impacted layout in2.13.2
.For a specific use case, we have informational icons associated with input labels in a "space-between" flex layout. After upgrading to Calcite 3, the label space is truncated and the icon is positioned in the center of layout instead of aligned with the trailing edge.
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: