diff --git a/docs/src/content/docs/resources/changelog.md b/docs/src/content/docs/resources/changelog.md index 30b6577f3..3b1f47076 100644 --- a/docs/src/content/docs/resources/changelog.md +++ b/docs/src/content/docs/resources/changelog.md @@ -23,11 +23,16 @@ New versions of Web Awesome are released as-needed and generally occur when a cr ## Next +- Fixed a bug in `` that caused the rating to not reset in some circumstances [#1877] + +## 2.14.0 + - Added the Arabic translation [#1852] - Added help text to `` [#1860] - Added help text to `` [#1800] - Fixed a bug in `` that caused HTML tags to be included in `getTextLabel()` - Fixed a bug in `` that caused slides to not switch correctly [#1862] +- Refactored component styles to be consumed more efficiently [#1692] ## 2.13.1 diff --git a/src/components/rating/rating.component.ts b/src/components/rating/rating.component.ts index accd33c2f..fcc6c2548 100644 --- a/src/components/rating/rating.component.ts +++ b/src/components/rating/rating.component.ts @@ -264,7 +264,6 @@ export default class WaRating extends WebAwesomeElement { 'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1 })} role="presentation" - @mouseenter=${this.handleMouseEnter} >
= index + 1 })} role="presentation" - @mouseenter=${this.handleMouseEnter} > ${unsafeHTML(this.getSymbol(index + 1))} diff --git a/src/components/rating/rating.styles.ts b/src/components/rating/rating.styles.ts index 95c5304d5..ee1cb4b0d 100644 --- a/src/components/rating/rating.styles.ts +++ b/src/components/rating/rating.styles.ts @@ -60,6 +60,7 @@ export default css` .rating__symbol { transition: var(--wa-transition-fast) scale; + pointer-events: none; } .rating__symbol--hover {