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

Add ability to handle forwarded slots #1184

Open
richard-to opened this issue Jan 22, 2025 · 0 comments
Open

Add ability to handle forwarded slots #1184

richard-to opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@richard-to
Copy link
Collaborator

Seems like this may have been a regression when we added named slots.

So something like this should work, but currently does not work. This makes composing content components less useful

@me.content_component
def c1():
  me.slot()


@me.content_component
def c3():
  with c1():
        me.slot()
@richard-to richard-to added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant