bi-sdk-react 0.0.71 → 0.0.72

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": "bi-sdk-react",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/umd/js/bi-sdk.umd.min.js",
@@ -107,6 +107,24 @@ const Toolbar: React.FC<{
107
107
  margin: "0 -24px",
108
108
  },
109
109
  }}
110
+ modalRender={(node) => (
111
+ <div
112
+ onClick={(e) => {
113
+ e.stopPropagation();
114
+ }}
115
+ onMouseDown={(e) => {
116
+ e.stopPropagation();
117
+ }}
118
+ onMouseUp={(e) => {
119
+ e.stopPropagation();
120
+ }}
121
+ onPointerDown={(e) => {
122
+ e.stopPropagation();
123
+ }}
124
+ >
125
+ {node}
126
+ </div>
127
+ )}
110
128
  footer={
111
129
  <Space>
112
130
  <Button
@@ -158,7 +176,11 @@ const Toolbar: React.FC<{
158
176
  }}
159
177
  />
160
178
  </Modal>
161
- <ToolbarWrap>
179
+ <ToolbarWrap
180
+ onClick={(e) => {
181
+ e.stopPropagation();
182
+ }}
183
+ >
162
184
  {!!ancestors?.length ? (
163
185
  <Dropdown
164
186
  placement="topLeft"