Height and width of text-area with max-length
change with validity changes
#11592
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.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Actual Behavior
Given a
<calcite-text-area>
element withmax-length
andvalidation-message
attributes defined, toggling the element'sstatus
betweenvalid
andinvalid
shrinks its width and causes the height of the textarea to ever increase.Screen.Recording.2025-02-19.at.3.49.23.PM.mov
Expected Behavior
The textarea's height and width do not change in response to
status
changes.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/MYWKPZo
Reproduction Steps
Reproduction Version
3.0.2
Relevant Info
Possibly related to #8456.
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
A workaround for the likeliest use-case is to enable the
limit-text
attribute, however this will not work for preventing other validity errors from triggering the bug.Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: