Skip to content

fix: Fix that onOpen and onClose is not dispatched.#52

Open
SimYunSup wants to merge 1 commit intofaceless-ui:mainfrom
SimYunSup:SimYunSup-patch-1
Open

fix: Fix that onOpen and onClose is not dispatched.#52
SimYunSup wants to merge 1 commit intofaceless-ui:mainfrom
SimYunSup:SimYunSup-patch-1

Conversation

@SimYunSup
Copy link

Related To: payloadcms/payload#4116

There are issues in payload becuase onClose is not dispatched. So I Added side effects for onOpen and onClose.

I added isInitialized because I think onClose must be not dispatched when modal is initalized and closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant