angular-ui / angular-ui/ui-scroll

How "wheelHandler" is working

Abierto
#198 12 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
326
Forks
104
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi all!

Sorry, but I have another question about how the plugin works. I have a div as "ui-scroll-viewport", with a custom height, and inside it a table, something like that:

```



[...]

[...]







```

The data is retieved via endpoint call, with a size of 10 in each call. Everything works as expected in Firefox, but in Chrome, when the data fetched is less than 20, and viewport div height is more than 300px, wheel mouse is not working. I've gone deep in the JS and the problem is in the `wheelHandler` function, that when the wheel mouse is not working, `buffer.bof ` is set to `true`, but in the other case, is set to `false`. Nevertheless, and although I've tried to investigate it, I don't know how `buffer.bof` is set to true.

Thanks in advance!
Regards,
Miguel.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.