angular-ui / angular-ui/ui-scroll

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

Offen
#116 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
326
Forks
104
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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`.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.