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.type !== 'blur') {
228
- if (containsNode(this.anchor.current, event.target)) {
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.type !== 'blur') {
300
- if (containsNode(_this.anchor.current, event.target)) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "11.1.0",
3
+ "version": "11.1.1",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",
@@ -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.type !== 'blur') {
319
- if (containsNode(_this.anchor.current, event.target)) {
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.type !== 'blur') {
320
- if (containsNode(this.anchor.current, event.target)) {
321
- return;
322
- }
319
+ } else if (containsNode(this.anchor.current, event.target)) {
320
+ return;
323
321
  }
324
322
 
325
323
  if (this.props.onBlur) {