Truncating/shrinking datetime-local
input can obscure picker button
#9301
Labels
0 - new
New issues that need assignment.
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.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
Check existing issues
Actual Behavior
Given a
datetime-local
input inside a fixed-width component, if the width of the input exceeds the width of the container, the trailing end of the input overflows and can become clipped.Expected Behavior
Instead, the input's width should match its container's, its trailing-edge calendar button should remain visible, and its value should become clipped similar to how the native input works:
Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/dyEyZKP
Reproduction Steps
Reproduction Version
2.8.0
Relevant Info
Possibly something to also take into account with #7074 and/or #9053.
Regression?
No response
Priority impact
p3 - want for upcoming milestone
Impact
Field Maps presents forms in side-panels. This issue presents a degraded UX and/or requires us to maintain a hard-coded minimum panel-width
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: