Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable drag options #4

Closed
michalsgit opened this issue Feb 12, 2021 · 3 comments
Closed

Disable drag options #4

michalsgit opened this issue Feb 12, 2021 · 3 comments

Comments

@michalsgit
Copy link

Is your feature request related to a problem? Please describe.

Allow to disable dragging windows sizes and reposition of the windows in DockManager

Describe the solution you'd like

Application users should not be able to resize or reposition windows but should be able to maximize them.

@gedinakova
Copy link
Contributor

Hello @michalsgit,

Dragging the floating windows around can be forbidden via handling the DockManager's paneDragOver event and setting the isValid property to false. Currently, the resizing of these windows cannot be forbidden but we may consider adding an event which you can handle and cancel the resize operation. Please, let us know if this would work for you?

I created a small sample demonstrating the approach with handling the paneDragOver to prevent the floating panes from moving around.

@radomirchev radomirchev added the program: igniteui project management label Mar 1, 2021
@michalsgit
Copy link
Author

Canceling resize operation could help but it will be still confusing for users as clicking on the border shows arrow that implies the resize operation is possible.

@DiyanDimitrov
Copy link
Contributor

@michalsgit. your point is valid that's why we have decided to add two new properties:

  • allowFloatingPanesResize property of the IgcDockManagerComponent enables/disables the resizing of all floating panes inside the dock manager
  • floatingResizable of the IgcSplitPane enables/disabled the resize of a specific floating pane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants