-
Notifications
You must be signed in to change notification settings - Fork 752
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(hr): Fix ENC1002 when dealing with event handlers #19418
base: master
Are you sure you want to change the base?
Conversation
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-19418/index.html |
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.
LGTM
owner.__1_Click_P2_Button_Click_Builder = null; | ||
owner.__2_Click_P3_Button_Click_Builder?.Invoke( owner._component_2); | ||
owner.__2_Click_P3_Button_Click_Builder = null; | ||
owner.__ApplyMethod_0_Click_Initialize(); |
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.
We should not call those multiple times per component.
@@ -39,6 +46,8 @@ public NameScope(string? @namespace, string className) | |||
|
|||
public Dictionary<string, Subclass> Subclasses { get; } = []; | |||
|
|||
public List<Action<IIndentedStringBuilder>> Subclasses2 { get; } = []; |
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.
SubclasseBuilders
?
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-19418/index.html |
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-19418/index.html |
closes https://github.com/unoplatform/uno.hotdesign/issues/3289
closes https://github.com/unoplatform/uno.hotdesign/issues/3299
Potentially also fixes:
https://github.com/unoplatform/uno.hotdesign/issues/3290
https://github.com/unoplatform/uno.hotdesign/issues/3281
Bugfix
Fix ENC1002 when dealing with event handlers
What is the current behavior?
Get ENC1002 pretty easily when dealing with element that has event handlers (code behind or x:Bind)
What is the new behavior?
HR
PR Checklist
Screenshots Compare Test Run
results.