SAP / ui5-webcomponents-react

A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience
https://sap.github.io/ui5-webcomponents-react/
Apache License 2.0
435 stars 97 forks source link

TextArea: Cannot read properties of null (reading 'querySelector') #5340

Closed mishalov closed 9 months ago

mishalov commented 9 months ago

Describe the bug

We receive Sentry issues when using this component in Signavio Process Intelligence. There are 18 events from 8 users for last 14 days.

issue happens at line

const focusedOutToValueStateMessage = eTarget?.shadowRoot.querySelector(".ui5-valuestatemessage-root");

of file webpack://@signavio/pex-client/./node_modules/@ui5/webcomponents/dist/TextArea.js

saying that eTarget?.shadowRoot is null for some reason

Isolated Example

We can not provide an example

Reproduction steps

Steps to reproduce are unclear, but here is Usage of the