alvarotrigo / alvarotrigo/fullPage.js

Scroll position snaps when adding content into section with autoScrolling: false

未關閉
#3,575 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
35.4k
分支
7.1k
PR 合併指標
30 天內沒有已合併 PR

描述

### Description
I'm using fullpage with the autoScrolling option disabled and want to append content to a section upon pressing a button. The section has the class `fp-auto-height` and contains a div into which the content is appended. When pressing the button and after `fullpage_api.reBuild();`, the scroll position snaps to the bottom of the current section or to the top of the next section.

### Link to isolated reproduction with no external CSS / JS
https://jsfiddle.net/mathiasritter/n4fxh96z/

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。