Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
269 stars 75 forks source link

calcite-input-time-picker: value updates don't appear in UI #9259

Open AdelheidF opened 2 months ago

AdelheidF commented 2 months ago

Check existing issues

Actual Behavior

If I programmatically update the time value while the popover is open the corrected values don't appear.

Expected Behavior

UI shows the updated values in popover and input

Reproduction Sample

https://codepen.io/afreitag/pen/qBwzJZg

Reproduction Steps

Read instructions in codepen

Reproduction Version

2.8.0

Relevant Info

No response

Regression?

no

Priority impact

p2 - want for current milestone

Impact

visible in MapViewer, no workaround

Calcite package

Esri team

ArcGIS Map Viewer

jcfranco commented 2 months ago

As a workaround, you could override the picker's value in the next frame (see updated example).

nsulzberger commented 1 month ago

In Scene Viewer we suffer from the same issue. Waiting for the next animationFrame does not work that easily with tsx and value binding.