TextArea.getHeightAndWidthOfElements
sometimes throws TypeError
#11514
Labels
2 - in development
Issues that are actively being worked on.
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.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
Removing a
<calcite-text-area>
element before it's done loading can cause itsgetHeightAndWidthOfElements()
method to throw aTypeError
.Expected Behavior
Removing a
<calcite-text-area>
element before it's done loading does not produce aTypeError
.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/PwooKVN
Reproduction Steps
TypeError
should appear in the console.Reproduction Version
3.0.0
Relevant Info
Stack trace
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
In our list/detail layouts, the end-user can generate this error by double-clicking a list item. Our automated tests are also impacted as they're more likely to discard elements before the elements are done loading/hydrating.
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: