willba-component-library 0.1.26 → 0.1.27
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/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.tsx +1 -1
package/lib/index.js
CHANGED
|
@@ -10526,7 +10526,7 @@ function FilterBar(_a) {
|
|
|
10526
10526
|
// Scroll in to view
|
|
10527
10527
|
var targetFilterBarRef = React__default.useRef(null);
|
|
10528
10528
|
React__default.useEffect(function () {
|
|
10529
|
-
if (window !== undefined && window.innerWidth
|
|
10529
|
+
if (window !== undefined && window.innerWidth > 960)
|
|
10530
10530
|
return;
|
|
10531
10531
|
if (targetFilterBarRef.current && selectedFilter) {
|
|
10532
10532
|
window.scrollTo({
|