How to auto scroll to top for material2 angular2 dialog box?

Viewed 4482

I am using https://material.angular.io, specifically the Dialog box (https://material.angular.io/components/dialog/overview). My problem is when I position the dialog box using

config = {'width':'200px', 'height':'400px', position: {'top':'150px', 'left':'400px'}}

I notice that when I click a button to show the dialog box, it scrolls all the way down... is there some way to make it so that when I click the button to show the dialog box, that it stays at the top/scrolls to top?

1 Answers
Related