# preserve_scroll

### Description

@short: Preserves the current position of the vertical and horizontal scrolls while re-drawing the gantt chart

@signature: preserve_scroll: boolean

### Example

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

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

**Default value:** true
