storybook-nitroui 0.2.0 → 0.2.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-nitroui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Storybook framework for NitroUI apps: on-device preview and manager, Node-side indexing and docgen.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -73,8 +73,8 @@
73
73
  "nitro-ui-navigation": "0.3.0",
74
74
  "typescript": ">=6",
75
75
  "nitro-mmkv": "0.3.0",
76
- "storybook-nitroui-containers": "^0.2.0",
77
- "storybook-nitroui-controls": "^0.2.0",
76
+ "storybook-nitroui-containers": "^0.2.1",
77
+ "storybook-nitroui-controls": "^0.2.1",
78
78
  "nitro-networking": "0.3.0",
79
79
  "nitro-ui-dev": "0.3.0"
80
80
  },
@@ -94,8 +94,8 @@
94
94
  "nitro-ui-renderer": "0.3.0",
95
95
  "react": "19.3.0",
96
96
  "storybook": "11.0.1",
97
- "storybook-nitroui-containers": "0.2.0",
98
- "storybook-nitroui-controls": "0.2.0",
97
+ "storybook-nitroui-containers": "0.2.1",
98
+ "storybook-nitroui-controls": "0.2.1",
99
99
  "typescript": "npm:@typescript/typescript6@^6.0.2"
100
100
  },
101
101
  "peerDependenciesMeta": {
@@ -78,7 +78,9 @@ export const AddonPanel = Inspector
78
78
  function InspectorScroll({ keyboardAware, bottomPadding, children }: { keyboardAware: boolean; bottomPadding: number; children: ReactNode }) {
79
79
  const keyboard = useKeyboardInset()
80
80
  return (
81
- <ScrollView layout={{ flex: 1 }}>
81
+ // Nested scrolling lets Android's bottom sheet see this scroll view: without it, the sheet takes every
82
+ // downward drag once expanded, so a scrolled list could not scroll back up.
83
+ <ScrollView isNestedScrollingEnabled layout={{ flex: 1 }}>
82
84
  <ScrollViewContent layout={{ paddingBottom: bottomPadding + (keyboardAware ? keyboard : 0) + 24 }}>{children}</ScrollViewContent>
83
85
  </ScrollView>
84
86
  )