# Smooth scrollIntoView?

**URL:** <https://discourse.processing.org/t/smooth-scrollintoview/13010>\
**Category:** Coding Questions\
**Created:** [July 26, 2019, 11:20pm UTC](https://discourse.processing.org/t/smooth-scrollintoview/13010 "2019-07-26T23:20:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pastuh](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pastuh](https://discourse.processing.org/u/pastuh)\
**Post date:** [July 26, 2019, 11:20pm UTC](https://discourse.processing.org/t/smooth-scrollintoview/13010/1 "2019-07-26T23:20:35Z")

</div>

I want to move slowly in to element view.

> **[Element.scrollIntoView()](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)**
>
> The Element interface's scrollIntoView() method scrolls the element's parent container such that the element on which scrollIntoView() is called is visible to the user

Code:

```auto
let testSelect = document.getElementById('gridMarked');
testSelect.scrollIntoView({block: 'center'});

```

But view moves immediately, additional ‘Smooth’ option not works…  
What i miss here?

Thanks for any info
