-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
Description
Describe the Bug
When creating a form instance inside a shadow DOM node typing a value in a textfield won't work properly. The value typed simply disappears after some time.
This is due to some differences in the event handling inside shadow dom noes + React events + Preact events.
This bug was reported on this support case
Steps to Reproduce
- Model a form with a textfield
- Instantiate the form inside a shadow dom node (repro here)
- Try to type inside the textfield
- The value disappears after some time
Expected Behavior
The textfield should work normally
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
wollefitz commentedon Apr 29, 2025
@vsgoulart This was highlighted as a major blocker by one of our customers, could you share a timeline of when this can be fixed transitively in Web Modeler?
cc @marcosgvieira
vsgoulart commentedon Apr 29, 2025
@wollefitz This is only relevant to the view engine when deployed in a specific way so it doesn't apply to the modelers
Also this is quite an exotic way of deploying it, they can always temporarily use a simpler way of instantiating
form-js
But anyway, I have the fix here
I just need to investigate some issues on the CI but I'll probably will release this fix tomorrow
Skaiir commentedon Jul 11, 2025
Closed via #1400