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
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Aug 24, 2022
Describe the bug
This is caused by #3164, where no check is made if inputRef.current has a value.
Reproducer
https://codesandbox.io/s/primereact-test-forked-lyjh4k
PrimeReact version
8.4.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Open the CodeSandbox, click the Dropdown, so that it is focused and then click the button.
This will hide the Dropdown and cause the error.
Expected behavior
Maybe in this case the onBlur should still be called with the value properties = undefined.
The text was updated successfully, but these errors were encountered: