ui-scroll icon indicating copy to clipboard operation
ui-scroll copied to clipboard

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

Open kroltan opened this issue 7 years ago • 2 comments

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.

kroltan avatar Sep 01 '16 13:09 kroltan

Would you like to submit a PR?

Michael Feingold, President 401 Huehl RD, Suite 2A, Northbrook, IL 60062 Email: [email protected] Web: hill30.com http://www.hill30.com

On Thu, Sep 1, 2016 at 8:55 AM, Leonardo Giovanni Scur < [email protected]> wrote:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/angular-ui/ui-scroll/issues/116, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIS34ZjlOM83sT3AXeW58JjY6sTl4Qfks5qltlXgaJpZM4Jyt-i .

mfeingold avatar Sep 01 '16 15:09 mfeingold

I certainly could. Will take a bite at it,

kroltan avatar Sep 01 '16 22:09 kroltan