How to make the rolling area scroll in Mini Program

problem description

The

requirement is to click the button to add a new element to the scrolling area and scroll to the new element location. I am currently using scroll-view and have set the scroll-into-view property. If you click too fast, the page will have a stutter effect. May I ask how to solve this situation or is there any other means to achieve it?

related codes

/ / Please paste the code text below (do not replace the code with pictures)

<scroll-view scroll-into-view="{{target}}"></scroll-view>
fn() {
    this.setData({target: xxx})
}

every time the button is clicked, fn () is called and the value of target is set. This can be achieved, but if you click quickly, you will get stuck

.
Dec.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3eaab-2c43b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3eaab-2c43b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?