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
I checked for other issues and there is one which was resolved 3 years ago: #1049
The "Code Reproduction URL" within my issue is copied from the old issue.
Unfortunately this doesn't work for our current StencilJS version.
I also checked on your main branch which also doesn't define onCancel within the stencil-public-runtime file:
Thanks for reporting this issue! I was able to confirm that the bindings for onClose and onCancel are not available on the dialog element. I'll get this labeled to be added to our backlog!
The fix for this issue has been included in the 🏒 v3.2.2 release of Stencil, which was released earlier today. As a result, I'm going to close this issue. Should it reappear, please feel free to open a new issue. Thanks!
Prerequisites
Stencil Version
2.22.3
Current Behavior
The DialogHTMLAttribute definition does not contain the onCancel event of the dialog element.
Expected Behavior
The onCancel event is defined and can be used
System Info
Steps to Reproduce
Create a new Stencil-Project
Add a new component.
Add following code to the render-function:
=> "Type '{ onCancel: (e: any) => void; }' is not assignable to type 'DialogHTMLAttributes'"
Code Reproduction URL
https://github.com/bassettsj/stencil-dialog-element-bug
Additional Information
I checked for other issues and there is one which was resolved 3 years ago: #1049
The "Code Reproduction URL" within my issue is copied from the old issue.
Unfortunately this doesn't work for our current StencilJS version.
I also checked on your main branch which also doesn't define onCancel within the stencil-public-runtime file:
stencil/src/declarations/stencil-public-runtime.ts
Line 907 in 6c5c984
The text was updated successfully, but these errors were encountered: