Unplanned
Last Updated: 27 Aug 2019 08:15 by ADMIN
Antonios
Created on: 23 Aug 2019 19:17
Category: KendoReact
Type: Feature Request
3
window draggable.containment

I need to not restrain the window, in the element that was contained in the code.

Just like it was possible in the jQuery version (https://docs.telerik.com/kendo-ui/api/javascript/ui/window/configuration/draggable.containment),

this feature is a must.

 

Otherwise, I am being forced to keep my Window on the "top level" element, just so that I can have it not be constrained in the nested element... 

The problem with this, is that the Window looks totally out of place, if I need more windows, I will need them all there and it's logic is not clear. The are many issues with that approach...

 

Please provide a temporary workaround if possible, thanks!

1 comment
ADMIN
Stefan
Posted on: 27 Aug 2019 08:15

Hello, Antonios,

Thank you for the feature request, I can agree that this is a useful feature.

We will plan it based on the community interest and the other requests.

Currently, a possible solution will be to use the controlled mode of the Window and restrict the resize and drag outside of the container boundaries:

https://www.telerik.com/kendo-react-ui/components/dialogs/window/controlled-mode/

https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items