- From: Daniel Tonon via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Aug 2022 11:10:02 +0000
- To: public-css-archive@w3.org
@Kymy no, I think I ended up just using `setTimeout` which is *far* from perfect but it is close enough to do the job for now.
```js
element.scrollIntoView({ behavior: 'smooth', block: 'start' });
setTimeout(() => {
console.log('The browser has (theoretically) finished scrolling');
}, 500)
```
--
GitHub Notification of comment by Dan503
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3744#issuecomment-1225574491 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 August 2022 11:10:03 UTC