Problem with the position of the window component

Hello,
I have a problem with the position of a window:

detailWindow = new webix.ui({
id: ‘window1’,
view: ‘window’,
modal: true,
move: true,
height: 300,
width: 360,
position: “center”,
head: {},
body: {}
).show();

the start position is ‘center’, but when i move the window and i get the refresh of a its component, it return to center…

How can I avoid the return to the center position the window?

Thanks,
Daniele

Hi,

Check the next snippet - http://webix.com/snippet/7e8af856

You can use onViewMove event to disable center-positioning after moving the window

Perfect, Thanks!