[text area]: allow consumers to modify minimum and maximum height and width of the text area #9040
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
calcite-components
Issues specific to the @esri/calcite-components package.
design-tokens
Issues requiring design tokens.
enhancement
Issues tied to a new feature or request.
estimate - 2
Small fix or update, may require updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Description
From a design perspective, there are instances in which it would be useful to restrict the minimum and/or maximum height and width of the native text area element when the text area is resizable. This would mainly be to prevent users from resizing the text area into odd shapes that disturb the flow of the document or obscure the first line of text in the element.
Acceptance Criteria
Developers should have access to a mechanism to set the minimum and maximum height and width of the native text area element without having to breach the shadow DOM to do so. This mechanism could come in the form of web component properties or CSS custom properties.
Relevant Info
No response
Which Component
calcite-text-area
Example Use Case
Here's an example of how we can currently access the shadow DOM to set min/max height/width styles on the native textarea element: https://codepen.io/Lance-Stasinski/pen/dyLJYPw
Priority impact
p4 - not time sensitive
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: