From 406da34ea86ebcd065fb263e7440336e224f282c Mon Sep 17 00:00:00 2001 From: kean Date: Tue, 7 Jan 2025 11:06:34 -0500 Subject: [PATCH 1/2] Enable fast deceleration for filters on the Discover tab --- .../ViewRelated/Reader/Headers/ReaderDiscoverHeaderView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WordPress/Classes/ViewRelated/Reader/Headers/ReaderDiscoverHeaderView.swift b/WordPress/Classes/ViewRelated/Reader/Headers/ReaderDiscoverHeaderView.swift index eca49f1b5ff6..df3394a10f02 100644 --- a/WordPress/Classes/ViewRelated/Reader/Headers/ReaderDiscoverHeaderView.swift +++ b/WordPress/Classes/ViewRelated/Reader/Headers/ReaderDiscoverHeaderView.swift @@ -22,6 +22,8 @@ final class ReaderDiscoverHeaderView: ReaderBaseHeaderView, UITextViewDelegate { scrollView.addSubview(channelsStackView) scrollView.showsHorizontalScrollIndicator = false scrollView.clipsToBounds = false + scrollView.decelerationRate = .fast + channelsStackView.pinEdges() scrollView.heightAnchor.constraint(equalTo: channelsStackView.heightAnchor).isActive = true @@ -65,7 +67,7 @@ final class ReaderDiscoverHeaderView: ReaderBaseHeaderView, UITextViewDelegate { private func updateScrollViewInsets() { scrollView.contentInset.left = contentView.frame.minX - (isCompact ? 0 : 10) - scrollView.contentInset.right = frame.maxX - contentView.frame.maxX + scrollView.contentInset.right = frame.maxX - contentView.frame.maxX + 10 scrollView.contentOffset = CGPoint(x: -scrollView.contentInset.left, y: 0) } From 9879df095ae6815bb0897511cbff19c35cf453b4 Mon Sep 17 00:00:00 2001 From: kean Date: Tue, 7 Jan 2025 11:08:02 -0500 Subject: [PATCH 2/2] Update release notes --- RELEASE-NOTES.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 5c15bbe78c7c..88f3ef15b7ef 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -16,6 +16,8 @@ * [*] Update site menu style on iPhone [#23944] * [*] Integrate zoom transitions in Themes, Reader [#23945, #23947] * [*] Fix an issue with site icons cropped in share extensions [#23950] +* [*] Enable fast deceleration for filters on the Discover tab [#23954] + 25.6 -----