Actions
Feature #26651
openSupport component re-mounting on partials from AJAX
Description
We use mount_react_component helper that inserts script, which takes care of mounting React components. The problem is that script tags do not evaluate when inserted into DOM as innerHTML. When AJAX calls to retrieve partial which is inserted into page, the script does not run and react component is not mounted.
We should make sure that react components do not disappear when they are in a partial that is rendered via AJAX.
Updated by Ondřej Pražák about 6 years ago
- Blocks Bug #26645: Ansible roles switcher not mounted after form partial re-render added
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6699 added
Updated by Ondřej Ezr about 6 years ago
- Related to Feature #26735: Mount react components from web components added
Actions