diff --git a/cspell.json b/cspell.json index e5cd6614..aaf7a49b 100644 --- a/cspell.json +++ b/cspell.json @@ -97,6 +97,7 @@ "Roboto", "saturationl", "Schilp", + "scrollbars", "Segoe", "semibold", "slotchange", diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 4e6c47aa..53dcf397 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -12,6 +12,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis - 🚨 BREAKING: Moved the `checked-icon` and `indeterminate-icon` parts from a wrapper `` to the `` in `` [#786](https://github.com/shoelace-style/shoelace/issues/786) - 🚨 BREAKING: Moved the `checked-icon` part from a wrapper `` to the `` in `` [#786](https://github.com/shoelace-style/shoelace/issues/786) +- Fixed a bug that caused `` to sometimes have two vertical scrollbars [#814](https://github.com/shoelace-style/shoelace/issues/814) ## 2.0.0-beta.77 diff --git a/src/components/select/select.styles.ts b/src/components/select/select.styles.ts index cba3e0c0..2ba70ad1 100644 --- a/src/components/select/select.styles.ts +++ b/src/components/select/select.styles.ts @@ -14,6 +14,10 @@ export default css` display: block; } + .select::part(panel) { + overflow: hidden; + } + .select__control { display: inline-flex; align-items: center;