alvarotrigo / alvarotrigo/fullPage.js

normalScrollElements triggering AutoScroll when mouse stopped

Aberta
#3,549 7 comentários 1 reação 0 responsáveis Ver no GitHub
bug Help needed Might not be possible
Linguagem predominante
JavaScript
Estrelas
35.4k
Forks
7.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.