Skip to content

Commit

Permalink
Use "open" shadow root mode instead of "closed"
Browse files Browse the repository at this point in the history
Style isolation still applies.

Co-authored-by: Robert Knight <robertknight@gmail.com>
  • Loading branch information
seanh and robertknight committed Jul 4, 2024
1 parent c84f399 commit 70a053e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h/static/scripts/group-forms/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import CreateGroupForm from './components/CreateGroupForm';

function init() {
const shadowHost = document.querySelector('#create-group-form')!;
const shadowRoot = shadowHost.attachShadow({ mode: 'closed' });
const shadowRoot = shadowHost.attachShadow({ mode: 'open' });
render(<CreateGroupForm />, shadowRoot);
}

Expand Down

0 comments on commit 70a053e

Please sign in to comment.