Skip to content

Commit

Permalink
fix(sbb-select): let promise of update cycle complete
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Feb 13, 2024
1 parent 69b120e commit 5086cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ export class SbbSelectElement extends UpdateScheduler(LitElement) {
this.blur = () => this._triggerElement.blur();

// Wait for ssr hydration
this.startUpdate();
if (!isNextjs()) {
this.startUpdate();
this._setupSelect();
}
}
Expand Down

0 comments on commit 5086cd6

Please sign in to comment.