alvarotrigo / alvarotrigo/fullPage.js

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

Abierto
#3,575 3 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
JavaScript
Estrellas
35.4k
Forks
7.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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/

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.