You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description
Our application consists of 2 screens:
landing page with list of items
item details page - has form fields (including react-selectrix component) and OK button to go back to landing page
When OK button is clicked we go back to the landing page and the items details page disappears.
In IE11 we can see an error message in the console: "Unable to get property 'contains' of undefined or null reference".
Additional details:
The error comes from handleBodyClick method in the App class. Probably the handler is executed after items detail page (and react selectrix-component) disappears from DOM. I think that additional check is required to ensure that this.ref points valid DOM element.
The text was updated successfully, but these errors were encountered:
Issue description
Our application consists of 2 screens:
When OK button is clicked we go back to the landing page and the items details page disappears.
In IE11 we can see an error message in the console: "Unable to get property 'contains' of undefined or null reference".
Additional details:
The error comes from handleBodyClick method in the App class. Probably the handler is executed after items detail page (and react selectrix-component) disappears from DOM. I think that additional check is required to ensure that this.ref points valid DOM element.
The text was updated successfully, but these errors were encountered: