# preserve_scroll

### Description

@short: 在重新绘制甘特图时，保留纵向和横向滚动条的当前位置

@signature: preserve_scroll: boolean

### Example

~~~jsx
gantt.config.preserve_scroll = false;

gantt.init("gantt_here");
~~~

**默认值：** true