Michael Leaney

Results 4 comments of Michael Leaney

@nabaonan can you describe what your expectations of the method are and what you observe? Do you get any errors in the logs? Does it scroll but to the wrong...

@nabaonan thank you for the sandbox. Tracing this, `scrollToItem` calculates a position and then calls `scrollToPosition` ``` scrollToPosition: function scrollToPosition(position) { if (this.direction === 'vertical') { this.$el.scrollTop = position; }...

Definitely works without page mode (make sure you set a height for the div, and correct overflow option (scroll, auto).

The resize logic is extremely odd and confusing. I've created a [sheet](https://docs.google.com/spreadsheets/d/1tpnaJ-CUb8apzsiKASsoGs4Tg3mCdE6x8ST-248lj3I/edit?usp=sharing) that you can use to visualize what will happen with different parameters. It can scale down, but has...