Skip to content
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

Ignored @:defaults of <Implicit> #22

Open
kLabz opened this issue Aug 4, 2021 · 1 comment
Open

Ignored @:defaults of <Implicit> #22

kLabz opened this issue Aug 4, 2021 · 1 comment

Comments

@kLabz
Copy link

kLabz commented Aug 4, 2021

When using <Implicit defaults={...}>, components using @:implicit objects in render/@:computed/etc. will get the instance defined in defaults={...} while components only using @:implicit in a callback (onClick for example) will get the @:default instance instead.

Edit: if view is created later on, it will also default to @:default instance instead of the one defined in defaults={...}

@kLabz
Copy link
Author

kLabz commented Aug 5, 2021

See kLabz/coconut-haxeui-hxwidgets#1 for a repro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant