-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
bind:this
can't access #each
context
#2806
Comments
This seems to have been partially solved by issue #2333. However it introduced another issue. You can toggle the display on and off, but when toggling the display off an error is thrown. Once that happens clicking the button does nothing. Funny because I was also working on 2333 and my changes have this issue functioning as expected. Not sure if it was something in the fix for 2333 or another fix included in 3.5.4. Error: |
Regular prop bindings can access
{#each}
's context variables.bind:this
bindings, on the other hand, can't!See: https://svelte.dev/repl/519146588bef40c1aeb8c564bb6d1d33
The text was updated successfully, but these errors were encountered: