@graphcommerce/framer-scroller 5.2.0-canary.5 → 5.2.0-canary.7

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
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.2.0-canary.7
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1749](https://github.com/graphcommerce-org/graphcommerce/pull/1749) [`0cc472915`](https://github.com/graphcommerce-org/graphcommerce/commit/0cc4729154d316227a41712b5f0adf514768e91f) - Added new filter UI and behaviour. Filters will appear as a popper on the md and up breakpoints and as an overlay on sm and below breakpoints. Filters now have an Apply button instead of applying directly. ([@paales](https://github.com/paales))
8
+
9
+ ## 5.2.0-canary.6
10
+
3
11
  ## 5.2.0-canary.5
4
12
 
5
13
  ## 5.2.0-canary.4
@@ -85,6 +85,13 @@ export function useScroller<
85
85
  if (event.target.tagName === 'INPUT' || event.target.tagName === 'TEXTAREA') return
86
86
  if (event.target.closest('.Scroller-root') !== scrollerRef.current) return
87
87
 
88
+ if (
89
+ event.target !== scrollerRef.current &&
90
+ event.target.querySelector(':scope > input, :scope > textarea')
91
+ ) {
92
+ return
93
+ }
94
+
88
95
  scrollStart.x.set(scroll.x.get())
89
96
  scrollStart.y.set(scroll.y.get())
90
97
  disableSnap()
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/framer-scroller",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "5.2.0-canary.5",
5
+ "version": "5.2.0-canary.7",
6
6
  "sideEffects": false,
7
7
  "scripts": {
8
8
  "dev": "tsc -W"
@@ -16,13 +16,13 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "popmotion": "11.0.5",
19
- "@graphcommerce/framer-utils": "5.2.0-canary.5",
20
- "@graphcommerce/image": "5.2.0-canary.5"
19
+ "@graphcommerce/framer-utils": "5.2.0-canary.7",
20
+ "@graphcommerce/image": "5.2.0-canary.7"
21
21
  },
22
22
  "devDependencies": {
23
- "@graphcommerce/eslint-config-pwa": "5.2.0-canary.5",
24
- "@graphcommerce/prettier-config-pwa": "5.2.0-canary.5",
25
- "@graphcommerce/typescript-config-pwa": "5.2.0-canary.5"
23
+ "@graphcommerce/eslint-config-pwa": "5.2.0-canary.7",
24
+ "@graphcommerce/prettier-config-pwa": "5.2.0-canary.7",
25
+ "@graphcommerce/typescript-config-pwa": "5.2.0-canary.7"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@mui/material": "^5.10.16",