Skip to content

FIO-10128: Fix styles when using the quick inline embed script#6126

Closed
yauheni-formio wants to merge 1 commit intomasterfrom
fix/FIO-10128_styles_do_not_appear_correctly_for_quick_inline_embed_script
Closed

FIO-10128: Fix styles when using the quick inline embed script#6126
yauheni-formio wants to merge 1 commit intomasterfrom
fix/FIO-10128_styles_do_not_appear_correctly_for_quick_inline_embed_script

Conversation

@yauheni-formio
Copy link
Copy Markdown
Contributor

@yauheni-formio yauheni-formio commented May 20, 2025

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-10128

Description

First of all everything for quick inline embed script renders inside of shadow dom. The problem appeared because in some cases (dropdown list of autocomplete or confirmation popup of sketchpad) we render elements (the dropdown list or confirmation popup) outside of shadow dom and as result we can't get access to this styles which accessible only inside of shadow dom. And a lot of styles related to this popup confirmation or autocomplete locate in formio.form.min.css. My solution allows to add this needed styles outside to make it work properly.

Breaking Changes / Backwards Compatibility

n/a

Dependencies

n/a

How has this PR been tested?

Manually

Checklist:

  • I have completed the above PR template
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • My changes include tests that prove my fix is effective (or that my feature works as intended)
  • New and existing unit/integration tests pass locally with my changes
  • Any dependent changes have corresponding PRs that are listed above

@johnformio
Copy link
Copy Markdown
Contributor

Closing this PR, we need to find a way that doesn't move styles outside of the shadowdom

@johnformio johnformio closed this Jul 18, 2025
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

Successfully merging this pull request may close these issues.

2 participants