alvarotrigo / alvarotrigo/fullPage.js

normalScrollElements triggering AutoScroll when mouse stopped

Abierto
#3,549 7 comentarios 1 reacción 0 asignados Ver en GitHub
bug Help needed Might not be possible
Lenguaje dominante
JavaScript
Estrellas
35.4k
Forks
7.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I have an issue with using normalScrollElements. For the most it works as expected: overflow in my _.test_ div scrolls. Sometimes however it randomly scrolls up or down a full section, without reaching the top or end of the normal-scrolling element. It seems to happen when scrolling too fast, but it also happens sometimes on a single wheel-scroll trigger.

[See screencast](https://cl.ly/dcacf89a0854)

Settings:

```
menu: "#menu",
navigation: true,
slidesNavigation: true,
normalScrollElements: ".test",
```

html:



Some text

Some text

Some text

Some text

Some text

Some text


css:
```

.test {
height: 200px;
width: 600px;
overflow-y: scroll;
margin: 0 auto;
}

.box {
display: block;
background: red;
margin: 20px;
padding: 20px;
}

```

The site is running the fullpage angular plugin

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.