-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConfirmPopup: Сomponent is not hidden when using the hide function #3202
Comments
PasBazz
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Aug 29, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
Aug 29, 2022
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 29, 2022
Good catch it was returning array |
melloware
added a commit
that referenced
this issue
Aug 29, 2022
@melloware Please see the reproducer, the ConfirmPopup is displayed again after it has been closed by the hide function |
I fixed it in master. I am using your reproducer code and now you can do this... actions.hide(); Instead of: actions[1](); |
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 5, 2022
melloware
added a commit
that referenced
this issue
Dec 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
confirmPopup
function returns array instead of an objectReproducer
https://codesandbox.io/s/confirmpopup-bug-1nzw6d?file=/src/App.tsx:53-65
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
Expected behavior
ConfirmPopup should be closed
The text was updated successfully, but these errors were encountered: