salesforce / lwc

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

fix(engine-dom): allow FACE in synthetic lifecycle #4295

Closed nolanlawson closed 2 weeks ago

nolanlawson commented 2 weeks ago

Details

Fixes #4251. Allows components to use FACE (Form Associated Custom Element) callbacks even when running in synthetic lifecycle mode.

This also adds tests for the DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE flag just to make sure everything works correctly even when that flag is enabled.

Does this pull request introduce a breaking change?

Does this pull request introduce an observable change?