Open hoboy0313 opened 3 years ago
scrollIntoView(element, {top: -60});
Usually, Some scenarios have a sticky dom, and we wanna offset a distance.
This is a great suggestion 👏🏼
@hoboy0313 @markcellus
scrollIntoView(element, {top: -60});
Usually, Some scenarios have a sticky dom, and we wanna offset a distance.