ngx-rs-ant 2.2.1 → 2.2.2

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.
@@ -2539,6 +2539,10 @@ class DrawerComponent {
2539
2539
  $event.stopPropagation();
2540
2540
  }
2541
2541
  autoHide($event) {
2542
+ // 拖动内嵌表格滚动条时不触发自动关闭
2543
+ if (!$event.DXCLICK_FIRED) {
2544
+ return;
2545
+ }
2542
2546
  if (this.config?.hideOnOutsideClick) {
2543
2547
  this.hide();
2544
2548
  }
@@ -2575,7 +2579,7 @@ class DrawerService {
2575
2579
  drawerRef.instance.contentTemplate = contentTemplate;
2576
2580
  drawerRef.instance.contentTemplateContext = contentTemplateContext;
2577
2581
  drawerRef.instance.config = config || {
2578
- hideOnOutsideClick: false
2582
+ hideOnOutsideClick: true
2579
2583
  };
2580
2584
  return drawerRef.instance;
2581
2585
  }