bkui-vue 2.0.2-beta.11 → 2.0.2-beta.13

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.
@@ -1363,9 +1363,6 @@ var tooltips = {
1363
1363
  hide(el);
1364
1364
  }, 100);
1365
1365
  });
1366
- el.addEventListener('click', function () {
1367
- hide(el);
1368
- });
1369
1366
  popper.addEventListener('mouseleave', function () {
1370
1367
  clearTimeout(delayTimeout);
1371
1368
  hideTimeout = setTimeout(function () {
@@ -1379,7 +1376,7 @@ var tooltips = {
1379
1376
  show(el);
1380
1377
  clearTimeout(delayTimeout);
1381
1378
  }, opts.delay);
1382
- } else if (popper.hasAttribute('data-show')) {
1379
+ } else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
1383
1380
  hide(el);
1384
1381
  }
1385
1382
  });