simplebar icon indicating copy to clipboard operation
simplebar copied to clipboard

Horizontal scroll on click

Open douglasrcjames opened this issue 4 years ago • 2 comments

I am trying to implement side-scrolling on button click like this StackOverflow post suggests, but it is not working with SimpleBar component. How would I implement this scrollLeft on react ref with SimpleBar?

douglasrcjames avatar Dec 01 '20 08:12 douglasrcjames

@douglasrcjames Did you ever found out how to implement this? I was able to have it working on Angular 8. After upgrading to a newer version of angular it stopped working for me.

Narshe1412 avatar Jan 25 '23 13:01 Narshe1412

@Narshe1412 I didn't end up figuring it out unfortunately :/ I just forego this quality-of-life improvement, my implementation is seen here and it seems to work fine without buttons to navigate left and right: https://douglasrcjames.com/work/minute.tech-llc

douglasrcjames avatar Jan 25 '23 21:01 douglasrcjames