smooth-scroll-into-view-if-needed icon indicating copy to clipboard operation
smooth-scroll-into-view-if-needed copied to clipboard

Smooth scrolling ignores "skipOverflowHiddenElements"

Open lyle45 opened this issue 4 years ago • 1 comments

When scrolling with this package with behavior = "smooth", skipOverflowHiddenElements is not passed down to scroll-into-view-if-needed making it misbehave

code should extend and pass down all options while overwriting only behavior option with function scrollIntoView(target, {...option, behavior: function(){...}

lyle45 avatar Apr 21 '20 14:04 lyle45

@stipsan This is a one line fix, any chance to help me i nthe close time?

Thanks in advance :)

lyle45 avatar Apr 21 '20 17:04 lyle45