angular-ui / angular-ui/ui-scroll

Option to disable forcing `overflow-y: auto` for viewports

Aperta
#116 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
326
Fork
104
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, when an element is marked with `ui-scroll-viewport`, the `Viewport` constructor forces the element to have a `overflow-y` property with value `auto`. In the project I work on, we need the scrollbar to always show (`overflow-y: scroll`), but this override makes it very difficult to do so.

I'd like to request that `ui-scroll-viewport` be configurable to not override those relevant properties, or at least detect and not intervene if it's already `auto` or `scroll`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.