Skip to content

Option to disable forcing overflow-y: auto for viewports #116

Open

Description

@kroltan

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.

Activity

  1. mfeingold commented on Sep 1, 2016

    @mfeingold
    Contributor

    Would you like to submit a PR?

    Michael Feingold, President
    401 Huehl RD, Suite 2A,
    Northbrook, IL 60062
    Email: mfeingold@hill30.com
    Web: hill30.com http://www.hill30.com

    On Thu, Sep 1, 2016 at 8:55 AM, Leonardo Giovanni Scur <
    notifications@github.com> 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
    #116, or mute the thread
    https://github.com/notifications/unsubscribe-auth/AAIS34ZjlOM83sT3AXeW58JjY6sTl4Qfks5qltlXgaJpZM4Jyt-i
    .

  2. kroltan commented on Sep 1, 2016

    @kroltan
    Author

    I certainly could. Will take a bite at it,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions