Skip to content

Commit

Permalink
fix(design): fix sidebar flickering on SSR (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaint authored Jan 14, 2025
1 parent 69d2859 commit b3e10bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/design/sidebar/src/sidebar/sidebar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ export class DaffSidebarComponent implements DaffOpenable {
*/
if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {
this._elementRef.nativeElement.style.visibility = 'hidden';
} else {
this._elementRef.nativeElement.style.visibility = null;
}
}

Expand Down

0 comments on commit b3e10bd

Please sign in to comment.