-
Notifications
You must be signed in to change notification settings - Fork 69
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
fix(core/modal): fixes runtime error #902
Conversation
Hi @matthiashader , thanks for the implementation. |
@EnesKilicaslan The error from my perspective was related to the fact that the modal-header and the also the event handling took care of closing the modal, so one of these didnt find it the before closed modal. |
I see |
What do you exactly mean? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSDocs changes
I mean, just removing onCloseClick from ModalHeader does not solve the problem |
Could you then provide us with a snippet where the error still remains? Because i can't produce any runtime error without the onCloseClick |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change
Pull request checklist
Please check if your PR fulfills the following requirements:
yarn build
) was run locally and any changes were pushedyarn test
) were run locally and passedyarn visual-regression
) were run locally and passednpm lint
) was run locally and passedPull request type
Please check the type of change your PR introduces:
What is the current behavior?
GitHub Issue Number: #900
What is the new behavior?
Does this introduce a breaking change?
Testing
Other information