angular-ui / angular-ui/ui-scroll

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

未關閉
#116 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
326
分支
104
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。