Can I use page-wide scroll with my core-list

57 Views Asked by At

On my page I have core-list which is almost in the middle of page and is about 50% of page's height and width. I don't want to have scroller in the middle of my page. Instead I'd like core-list to scroll as page is scrolled. Is it possible? Can I use "scrollTarget"? Setting scrollTarget to html element doesn't work (as it doesn't implment getScrollTop/setScrollTop).

2

There are 2 best solutions below

0
On BEST ANSWER

I ended up with assigning scrollTarget to my root div that works surprisingly perfectly for me.

0
On

Add css to html "overflow-y:auto" and set scrollTarget to it or use header-panel and set scroll target of list to it