Skip to content

Commit

Permalink
Merge pull request #239 from GetStream/develop
Browse files Browse the repository at this point in the history
Angular SDK fix for popper
  • Loading branch information
szuperaz authored Aug 1, 2023
2 parents 704ff17 + 9c4e82f commit 99ba6a6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/v1/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@
display: none !important;
}
}

// Quick fix for: https://github.com/tonysamperi/ngx-popperjs/issues/52
&.google-chrome {
popper-content {
.ngxp__container {
display: block !important;
position: absolute;
right: 0;
bottom: 0;
opacity: 0;

&[aria-hidden="true"] {
visibility: hidden;
}
}
}
}
}

.clearfix {
Expand Down
17 changes: 17 additions & 0 deletions src/v2/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@
display: none !important;
}
}

// Quick fix for: https://github.com/tonysamperi/ngx-popperjs/issues/52
&.google-chrome {
popper-content {
.ngxp__container {
display: block !important;
position: absolute;
right: 0;
bottom: 0;
opacity: 0;

&[aria-hidden="true"] {
visibility: hidden;
}
}
}
}
}

// Fixes icon sizing problem in Angular SDK
Expand Down

0 comments on commit 99ba6a6

Please sign in to comment.