@eeacms/volto-clms-theme 1.1.261 → 1.1.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [1.1.262](https://github.com/eea/volto-clms-theme/compare/1.1.261...1.1.262) - 13 November 2025
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: Product pages having subtabs not positioning correctly - refs #293723 [ana-oprea - [`a564fbc`](https://github.com/eea/volto-clms-theme/commit/a564fbc6b7a5f4384c0eccf950c5dd6382963ab7)]
|
|
12
|
+
|
|
7
13
|
### [1.1.261](https://github.com/eea/volto-clms-theme/compare/1.1.260...1.1.261) - 23 October 2025
|
|
8
14
|
|
|
9
15
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
package/src/components/Blocks/CustomTemplates/VoltoTabsBlock/CclProductTabsWithSubtabsView.jsx
CHANGED
|
@@ -124,7 +124,15 @@ const TabsComponent = ({
|
|
|
124
124
|
}, [activeTab, expandedTab, groupedTabs]);
|
|
125
125
|
|
|
126
126
|
useEffect(() => {
|
|
127
|
-
|
|
127
|
+
const urlParams = new URLSearchParams(location.search);
|
|
128
|
+
const hasHash = location.hash.length > 1;
|
|
129
|
+
const hasQueryTab = urlParams.has('tab');
|
|
130
|
+
|
|
131
|
+
if (hasHash || hasQueryTab) {
|
|
132
|
+
scrollToContentSection();
|
|
133
|
+
} else {
|
|
134
|
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
135
|
+
}
|
|
128
136
|
}, [activeTab, location.hash.length, location.search]);
|
|
129
137
|
|
|
130
138
|
return (
|