Skip to content

Commit

Permalink
move logic to collapsible
Browse files Browse the repository at this point in the history
  • Loading branch information
myrta2302 committed Dec 16, 2024
1 parent 96f417e commit 87cf534
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class PostCollapsible {

render() {
return (
<Host data-version={version}>
<Host data-version={version} tabIndex={this.collapsed ? -1 : undefined}>
<slot />
</Host>
);
Expand Down

0 comments on commit 87cf534

Please sign in to comment.