Make a requirement similar to Todo List, use the Element framework, and find that after using the Dialog component pop-up window, it will automatically jump to the top of the page, and you need to slide down again to view the added items. User experience is very poor

Check the documentation for a solution

Add these two parameters and the solution is perfect

<el-dialog 
    :lock-scroll="false"
    :append-to-body="true"
>
</el-dialog>