@tamagui/popover 1.0.1-beta.178 → 1.0.1-beta.179
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/package.json +16 -16
- package/src/Popover.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/popover",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.179",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
27
|
-
"@tamagui/animate-presence": "^1.0.1-beta.
|
|
28
|
-
"@tamagui/aria-hidden": "^1.0.1-beta.
|
|
29
|
-
"@tamagui/compose-refs": "^1.0.1-beta.
|
|
30
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
31
|
-
"@tamagui/create-context": "^1.0.1-beta.
|
|
32
|
-
"@tamagui/dismissable": "^1.0.1-beta.
|
|
33
|
-
"@tamagui/focus-scope": "^1.0.1-beta.
|
|
34
|
-
"@tamagui/polyfill-dev": "^1.0.1-beta.
|
|
35
|
-
"@tamagui/popper": "^1.0.1-beta.
|
|
36
|
-
"@tamagui/portal": "^1.0.1-beta.
|
|
37
|
-
"@tamagui/scroll-view": "^1.0.1-beta.
|
|
38
|
-
"@tamagui/sheet": "^1.0.1-beta.
|
|
39
|
-
"@tamagui/stacks": "^1.0.1-beta.
|
|
40
|
-
"@tamagui/use-controllable-state": "^1.0.1-beta.
|
|
27
|
+
"@tamagui/animate-presence": "^1.0.1-beta.179",
|
|
28
|
+
"@tamagui/aria-hidden": "^1.0.1-beta.179",
|
|
29
|
+
"@tamagui/compose-refs": "^1.0.1-beta.179",
|
|
30
|
+
"@tamagui/core": "^1.0.1-beta.179",
|
|
31
|
+
"@tamagui/create-context": "^1.0.1-beta.179",
|
|
32
|
+
"@tamagui/dismissable": "^1.0.1-beta.179",
|
|
33
|
+
"@tamagui/focus-scope": "^1.0.1-beta.179",
|
|
34
|
+
"@tamagui/polyfill-dev": "^1.0.1-beta.179",
|
|
35
|
+
"@tamagui/popper": "^1.0.1-beta.179",
|
|
36
|
+
"@tamagui/portal": "^1.0.1-beta.179",
|
|
37
|
+
"@tamagui/scroll-view": "^1.0.1-beta.179",
|
|
38
|
+
"@tamagui/sheet": "^1.0.1-beta.179",
|
|
39
|
+
"@tamagui/stacks": "^1.0.1-beta.179",
|
|
40
|
+
"@tamagui/use-controllable-state": "^1.0.1-beta.179"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "*",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-native": "*"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
48
|
+
"@tamagui/build": "^1.0.1-beta.179",
|
|
49
49
|
"@types/react-dom": "^18.0.3",
|
|
50
50
|
"@types/react-native": "^0.69.2",
|
|
51
51
|
"react": "*",
|
package/src/Popover.tsx
CHANGED
|
@@ -169,7 +169,7 @@ export interface PopoverContentTypeProps
|
|
|
169
169
|
|
|
170
170
|
export const PopoverContent = React.forwardRef<PopoverContentTypeElement, PopoverContentTypeProps>(
|
|
171
171
|
(props: ScopedProps<PopoverContentTypeProps>, forwardedRef) => {
|
|
172
|
-
const { allowPinchZoom, trapFocus, disableRemoveScroll, ...contentModalProps } = props
|
|
172
|
+
const { allowPinchZoom, trapFocus, disableRemoveScroll = true, ...contentModalProps } = props
|
|
173
173
|
const context = usePopoverInternalContext(CONTENT_NAME, props.__scopePopover)
|
|
174
174
|
const contentRef = React.useRef<HTMLDivElement>(null)
|
|
175
175
|
const composedRefs = useComposedRefs(forwardedRef, contentRef)
|