devextreme-angular icon indicating copy to clipboard operation
devextreme-angular copied to clipboard

OverlayContent Cannot be dragged

Open Angelminster opened this issue 10 years ago • 5 comments

I cant move popup Windows like columnChooser or DxPopUp.

With Devextreme 15.* i had the same problem in columnChooser. Maybe it's a bug not related to devextreme-angular2.

Thank you.

Angelminster avatar Jun 28 '16 16:06 Angelminster

Hi,

I tried to move DxPopUp and DxDataGrid columns on a sample page. To drag columns in DxDataGrid, I have added the following HTML:

[columnChooser] = '{ enabled: true, mode: "selectedMode" }'

On my side, it all works fine. Can you please specify steps I need to do to reproduce this issue?

Aden-git avatar Jun 29 '16 14:06 Aden-git

Hi,

I can Drag & Drop columns in ColumnChooser and in Group panel too. My problem is about moving the popup window itself (ColumnChooser, FieldChooser, Custom dxPopUp, whatever). Maybe i have some css that could restrict the movement, but i cant found it.¿Some ideas?

The steps to reproduce are simple:

  1. Open columnChooser of dxDataGrid
  2. Try to Move the popup window dragging the header. -> The icon changes properly (movement cross) but I can't move it.

I've have a complex solution and could be a lot of things ( css problem, ng-trasclude, incompatibility with another components, etc,) I'll try to create a simple case to reproduce this.

Angelminster avatar Jun 29 '16 15:06 Angelminster

In this fiddle if you add "columnChooser: {enabled: true}" in line 99 you get the same behaviour. You can't move the columnchooser.

Here the expected result.

Angelminster avatar Jun 29 '16 17:06 Angelminster

It seems it's not related to devextreme-angular2. If you wish to discuss technical issues related to DevExtreme components, please submit a ticket in our Support Center. Our support engineers will help you.

As for your example, try to add the following CSS:

html, body{ height: 100%; width: 100%; }

Aden-git avatar Jul 01 '16 10:07 Aden-git

Thank You so much Aden. That css rule solves the problem.

Angelminster avatar Jul 01 '16 11:07 Angelminster