Scroll bar does not scroll with user, while scrolling in main screen,
I have 2 scroll bar now, one is the native scrollbar and other one is the scroll bar i have added to the component
I have 14 item in the list A-N.
The scrollBar component height is same as the windows screen hight and fixed to top, when i scroll each item are getting highlighted but the scroll is not happening , to see the item which is not visible(J-N) right now in the screen and highlighted i need to scroll in the component itself,
if any one know how i can mount the windows scroll to the custom scroll please let me know
Scroll bar does not scroll with user, while scrolling in main screen, I have 2 scroll bar now, one is the native scrollbar and other one is the scroll bar i have added to the component
I have 14 item in the list A-N.
The scrollBar component height is same as the windows screen hight and fixed to top, when i scroll each item are getting highlighted but the scroll is not happening , to see the item which is not visible(J-N) right now in the screen and highlighted i need to scroll in the component itself,
if any one know how i can mount the windows scroll to the custom scroll please let me know
My code:
what currently happening:
Expected: