Closed maxpatiiuk closed 1 month ago
When calcite-button had loading="true", and you change that to loading="false", the button's width jumps twice - firstly, the gap between loader and button's content is removed, and after a brief delay, the loader itself is removed:
calcite-button
loading="true"
loading="false"
https://github.com/Esri/calcite-design-system/assets/40512816/52b0ed90-582a-4042-8f79-a5cc83818ef3
Loader and the gap should be removed simultaneously and immediatly
https://codepen.io/maxpatiiuk/pen/poYbEmZ
2.1.0
Note: to reproduce this bug, you need to have prefers-reduced-motion: reduce set in your OS settings or DevTools emulation:
prefers-reduced-motion: reduce
No response
p4 - not time sensitive
minor
ArcGIS Maps SDK for JavaScript
Installed and assigned for verification.
🍡 Verified on 2.12.0-next.4
2.12.0-next.4
https://github.com/user-attachments/assets/06ad9e9b-670b-4d74-bb2b-d4f53fe53095
Check existing issues
Actual Behavior
When
calcite-button
hadloading="true"
, and you change that toloading="false"
, the button's width jumps twice - firstly, the gap between loader and button's content is removed, and after a brief delay, the loader itself is removed:https://github.com/Esri/calcite-design-system/assets/40512816/52b0ed90-582a-4042-8f79-a5cc83818ef3
Expected Behavior
Loader and the gap should be removed simultaneously and immediatly
Reproduction Sample
https://codepen.io/maxpatiiuk/pen/poYbEmZ
Reproduction Steps
Reproduction Version
2.1.0
Relevant Info
Note: to reproduce this bug, you need to have
prefers-reduced-motion: reduce
set in your OS settings or DevTools emulation:Regression?
No response
Priority impact
p4 - not time sensitive
Impact
minor
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript