This commit is contained in:
Cory LaViska
2024-01-16 10:17:18 -06:00
parent dd483c0a04
commit d3f3c2fe03
2 changed files with 13 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
- Fixed a bug in `<sl-input>` and `<sl-textarea>` that made it work differently from `<input>` and `<textarea>` when using defaults [#1746]
- Fixed a bug in `<sl-select>` that prevented it from closing when tabbing to another select inside a shadow root [#1763]
- Fixed a bug in `<sl-spinner>` that caused the animation to appear strange in certain circumstances [#1787]
- Fixed a bug that caused modal scroll locking to conflict with the `scrollbar-gutter` property [#1805]
- Improved the accessibility of `<sl-tooltip>` so they persist when hovering over the tooltip and dismiss when pressing [[Esc]] [#1734]
## 2.12.0

View File

@@ -4,9 +4,18 @@
* to reduce the possibility of collisions.
*/
.sl-scroll-lock {
padding-right: var(--sl-scroll-lock-size) !important;
overflow: hidden !important;
@supports (scrollbar-gutter: stable) {
.sl-scroll-lock {
scrollbar-gutter: stable !important;
overflow: hidden !important;
}
}
@supports not (scrollbar-gutter: stable) {
.sl-scroll-lock {
padding-right: var(--sl-scroll-lock-size) !important;
overflow: hidden !important;
}
}
.sl-toast-stack {