* Scroll to a specific item index
(index: number, behavior: ScrollBehavior = "smooth")
| 824 | * Scroll to a specific item index |
| 825 | */ |
| 826 | scrollToIndex(index: number, behavior: ScrollBehavior = "smooth"): void { |
| 827 | const targetScroll = this.getItemPosition(index); |
| 828 | this.scrollContainer.scrollTo({ |
| 829 | top: targetScroll, |
| 830 | behavior, |
| 831 | }); |
| 832 | } |
| 833 | |
| 834 | /** |
| 835 | * Force recalculation of visible range (useful after container resize) |
nothing calls this directly
no test coverage detected