salesforce / lwc

⚡️ LWC - A Blazing Fast, Enterprise-Grade Web Components Foundation
https://lwc.dev
Other
1.62k stars 394 forks source link

[engine] Delegates Focus #89

Open davidturissini opened 6 years ago

davidturissini commented 6 years ago

Description

Implement delegatesFocus static prop so LWC input focus can skip the custom element container.

caridy commented 5 years ago

Few things that were discussed today (@ekashida and myself):

caridy commented 5 years ago

The missing piece here is the :focus css rule, that is not implemented yet. Let's keep this open.

gonzalocordero commented 5 years ago

I'd like to add a few more things, based on the following example: https://playground.lwcjs.org/projects/8nbbO02BF/4/edit

(Assuming static delegatesFocus = true)

gonzalocordero commented 5 years ago

Referencing a couple of issues I've recently discovered: https://github.com/salesforce/lwc/issues/1032 and https://github.com/salesforce/lwc/issues/1031