title: scrollIntoView() not workin in Angular with {behaviour: 'smooth'}
body: <p>I want to achieve a smooth scrolling effect when clicking a button. The scrolling effect does actually work when I use</p>
  
  <p><code>document.getElementById('sectionCourses').scrollIntoView({block: 'start', inline: 'nearest'});</code></p>
  
  <p>but as soon as i add</p>
  
  <p><code>behavior: 'smooth'</code></p>
  
  <p>to the properties, the page is not scrolling at all. I have no idea why, the console doesn't show anything.</p>
  
  <p>Thanks for the help!</p>