baseui 11.1.0 → 11.1.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.
|
@@ -224,10 +224,8 @@ class Select extends React.Component {
|
|
|
224
224
|
if (containsNode(this.anchor.current, event.relatedTarget) || containsNode(this.dropdown.current, event.relatedTarget)) {
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
} else if (event.
|
|
228
|
-
|
|
229
|
-
return;
|
|
230
|
-
}
|
|
227
|
+
} else if (containsNode(this.anchor.current, event.target)) {
|
|
228
|
+
return;
|
|
231
229
|
}
|
|
232
230
|
|
|
233
231
|
if (this.props.onBlur) {
|
|
@@ -296,10 +296,8 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
296
296
|
if (containsNode(_this.anchor.current, event.relatedTarget) || containsNode(_this.dropdown.current, event.relatedTarget)) {
|
|
297
297
|
return;
|
|
298
298
|
}
|
|
299
|
-
} else if (event.
|
|
300
|
-
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
299
|
+
} else if (containsNode(_this.anchor.current, event.target)) {
|
|
300
|
+
return;
|
|
303
301
|
}
|
|
304
302
|
|
|
305
303
|
if (_this.props.onBlur) {
|
package/package.json
CHANGED
|
@@ -315,10 +315,8 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
315
315
|
if (containsNode(_this.anchor.current, event.relatedTarget) || containsNode(_this.dropdown.current, event.relatedTarget)) {
|
|
316
316
|
return;
|
|
317
317
|
}
|
|
318
|
-
} else if (event.
|
|
319
|
-
|
|
320
|
-
return;
|
|
321
|
-
}
|
|
318
|
+
} else if (containsNode(_this.anchor.current, event.target)) {
|
|
319
|
+
return;
|
|
322
320
|
}
|
|
323
321
|
|
|
324
322
|
if (_this.props.onBlur) {
|
|
@@ -316,10 +316,8 @@ class Select extends React.Component<PropsT, SelectStateT> {
|
|
|
316
316
|
) {
|
|
317
317
|
return;
|
|
318
318
|
}
|
|
319
|
-
} else if (event.
|
|
320
|
-
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
319
|
+
} else if (containsNode(this.anchor.current, event.target)) {
|
|
320
|
+
return;
|
|
323
321
|
}
|
|
324
322
|
|
|
325
323
|
if (this.props.onBlur) {
|