When updating from value-list to list in smaller width use cases for selections, additional padding is added, which effects the look of the component:
Before with value-list
After with list
Expected Behavior
Replace the existing 12px padding to the right of the component's selectionAppearance of "icon" for selectionMode's of "multiple", "single" and "single-persist" to 4px with the --calcite-spacing-xxs token:
Came up when the Analysis team converted their pick-list to list, where when confined to a smaller width panel, the padding takes up a considerable amount of space. They are considering reverting back to pick-list if a fix cannot be mitigated, and would have to migrate over after the breaking change release when #7100 is implemented.
Check existing issues
Actual Behavior
When updating from
value-list
tolist
in smaller width use cases for selections, additional padding is added, which effects the look of the component:value-list
list
Expected Behavior
Replace the existing
12px
padding to the right of the component'sselectionAppearance
of"icon"
forselectionMode
's of"multiple"
,"single"
and"single-persist"
to4px
with the--calcite-spacing-xxs
token:Reproduction Sample
https://codepen.io/geospatialem/pen/WNBNeNe
Reproduction Steps
selection-mode="icon"
value-list
sampleReproduction Version
2.8.0
Relevant Info
Refer to the impact statement below.
Regression?
No response
Priority impact
p1 - need for current milestone
Impact
Came up when the Analysis team converted their
pick-list
tolist
, where when confined to a smaller width panel, the padding takes up a considerable amount of space. They are considering reverting back topick-list
if a fix cannot be mitigated, and would have to migrate over after the breaking change release when #7100 is implemented.Calcite package
Esri team
ArcGIS Web Analysis