NonModal Window with grid control seems docked to right

0 Answers 21 Views
Grid Window
John
Top achievements
Rank 1
John asked on 28 Feb 2022, 10:04 PM

Strangest thing. I have a non-modal window control which contains a grid control. For some reason, the window appears to be docked to the right side of the form. I can move the window up and down but if I move it right or left, it just resizes the window width.

If I specify a width in px then it is fine. If I specify a width as a percentage then it is docked. Is there a way for the grid to configure the width so it doesn't dock but still takes 100% of the width?

 

Marin Bratanov
Telerik team
commented on 28 Feb 2022, 10:09 PM

John
Top achievements
Rank 1
commented on 28 Feb 2022, 10:25 PM

Seems like it. I liked the ability to resize the width of the window, too bad it costs the ability to move the window horizontally.
Joana
Telerik team
commented on 03 Mar 2022, 02:51 PM

Hi John, 

Was our troubleshooting article enough for you to resolve the issue and layout of the Grid and Window components? If no, could you please share a snippet in Repl or project so that we can investigate what styles interfere with our components?

John
Top achievements
Rank 1
commented on 03 Mar 2022, 03:26 PM

If the window width is specified, it does work around the issue though not ideal. Recreated in repl

https://blazorrepl.telerik.com/QGadEnbT24qbDh1G49

Joana
Telerik team
commented on 08 Mar 2022, 06:19 AM

Hi John, 

Thank you for the clarification. I have logged an issue in our feedback portal item where you can track its progress:

https://feedback.telerik.com/blazor/1556641-width-is-not-preserved-on-drag

Indeed, we should improve the component to dynamically calculate the width and not require it for the drag and drop operation.

No answers yet. Maybe you can help?

Tags
Grid Window
Asked by
John
Top achievements
Rank 1
Share this question
or