@tscircuit/schematic-viewer 2.0.99 → 2.0.100
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/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1835,6 +1835,8 @@ var SchematicComponentDetailsTooltip = ({
|
|
|
1835
1835
|
margin: 0,
|
|
1836
1836
|
padding: 0,
|
|
1837
1837
|
overflowY: "auto",
|
|
1838
|
+
overscrollBehavior: "contain",
|
|
1839
|
+
cursor: "auto",
|
|
1838
1840
|
boxSizing: "border-box",
|
|
1839
1841
|
border: "1px solid #cbd5e1",
|
|
1840
1842
|
borderRadius: "4px",
|
|
@@ -1849,6 +1851,7 @@ var SchematicComponentDetailsTooltip = ({
|
|
|
1849
1851
|
},
|
|
1850
1852
|
onMouseDown: (event) => event.stopPropagation(),
|
|
1851
1853
|
onClick: (event) => event.stopPropagation(),
|
|
1854
|
+
onWheel: (event) => event.stopPropagation(),
|
|
1852
1855
|
children: [
|
|
1853
1856
|
/* @__PURE__ */ jsxs2(
|
|
1854
1857
|
"dl",
|
|
@@ -3110,7 +3113,7 @@ import { useMemo as useMemo5 } from "react";
|
|
|
3110
3113
|
// package.json
|
|
3111
3114
|
var package_default = {
|
|
3112
3115
|
name: "@tscircuit/schematic-viewer",
|
|
3113
|
-
version: "2.0.
|
|
3116
|
+
version: "2.0.99",
|
|
3114
3117
|
repository: {
|
|
3115
3118
|
type: "git",
|
|
3116
3119
|
url: "https://github.com/tscircuit/schematic-viewer"
|
|
@@ -3613,7 +3616,7 @@ var SchematicViewer = ({
|
|
|
3613
3616
|
const shouldPanSchematic = useCallback7(
|
|
3614
3617
|
(event) => {
|
|
3615
3618
|
if (event.target instanceof Element && event.target.closest(
|
|
3616
|
-
"[data-schematic-search], [data-schematic-warnings], .schematic-warning"
|
|
3619
|
+
"[data-schematic-search], [data-schematic-warnings], .schematic-warning, [data-schematic-component-details-tooltip]"
|
|
3617
3620
|
)) {
|
|
3618
3621
|
return false;
|
|
3619
3622
|
}
|