diff --git a/.changeset/fix-scroll-spy-race.md b/.changeset/fix-scroll-spy-race.md deleted file mode 100644 index 9f3c8d792d..0000000000 --- a/.changeset/fix-scroll-spy-race.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@patternfly/pfe-core": patch ---- -`ScrollSpyController`: fix race conditions on rapid and smooth scroll navigation - -- Fix rapid clicks leaving stale force-release listeners that caused the active - state to fall "one click behind" -- Release force on `scrollend` instead of first IntersectionObserver callback, - preventing intermediate sections from stealing active state during smooth scroll -- Sort passed links by DOM order instead of Set insertion order, fixing incorrect - active state with non-contiguous content sections diff --git a/core/pfe-core/CHANGELOG.md b/core/pfe-core/CHANGELOG.md index 91109f2672..5a9b40696f 100644 --- a/core/pfe-core/CHANGELOG.md +++ b/core/pfe-core/CHANGELOG.md @@ -1,5 +1,17 @@ # @patternfly/pfe-core +## 5.0.7 +### Patch Changes + +- ca65338: `ScrollSpyController`: fix race conditions on rapid and smooth scroll navigation + + - Fix rapid clicks leaving stale force-release listeners that caused the active + state to fall "one click behind" + - Release force on `scrollend` instead of first IntersectionObserver callback, + preventing intermediate sections from stealing active state during smooth scroll + - Sort passed links by DOM order instead of Set insertion order, fixing incorrect + active state with non-contiguous content sections + ## 5.0.6 ### Patch Changes diff --git a/core/pfe-core/package.json b/core/pfe-core/package.json index ebf33541b7..e165afc3bc 100644 --- a/core/pfe-core/package.json +++ b/core/pfe-core/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/pfe-core", - "version": "5.0.6", + "version": "5.0.7", "license": "MIT", "description": "PatternFly Elements Core Library", "customElements": "custom-elements.json",