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

Make It Easer To Override Default Shadow Behavior #53

Open
dyoder opened this issue Aug 14, 2024 · 0 comments
Open

Make It Easer To Override Default Shadow Behavior #53

dyoder opened this issue Aug 14, 2024 · 0 comments

Comments

@dyoder
Copy link
Contributor

dyoder commented Aug 14, 2024

For example, right now, we default to:

handle.dom.attachShadow mode: "open", delegatesFocus: true

Setting delegatesFocus may be undesirable in some cases. And to override it, you need to provide a custom initializer.

One alternative would be to allow the shadow combinator to take options.

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