Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

mdSlider: creating a md-content scrollbar when md-sidenav is closed by default #1996

Closed
peluprvi opened this issue Mar 22, 2015 · 0 comments
Closed
Assignees
Labels
for: internal contributor The team will address this issue and community PRs are not requested.
Milestone

Comments

@peluprvi
Copy link

The error occurs when you have a md-content, with a md-slider inside, and a md-sidenav which is closed by default and became .md-is-locked-open after a few time.

<div layout="row" flex>
    <md-sidenav layout="column" class="md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="$mdMedia('gt-sm') && isLoggedIn">

    </md-sidenav>
    <div layout="column" flex id="content">
        <md-content layout="column" flex class="md-padding">
          <div layout>
            <div flex="10" layout layout-align="center center">
              <span>default</span>
            </div>
            <md-slider flex md-discrete ng-model="rating1" step="1" min="1" max="5" aria-label="rating">
            </md-slider>
          </div>
        </md-content>
    </div>
</div>

The scrollbar on Chrome/Windows:

image

Complete example code:
http://plnkr.co/edit/kiqzPJkMWgLdY3L6aPjD?p=preview

The scrollbar is removed after manually resize the page.

@ThomasBurleson ThomasBurleson added for: internal contributor The team will address this issue and community PRs are not requested. and removed for: internal contributor The team will address this issue and community PRs are not requested. labels Apr 24, 2015
@ThomasBurleson ThomasBurleson added the for: internal contributor The team will address this issue and community PRs are not requested. label Apr 24, 2015
@ThomasBurleson ThomasBurleson modified the milestone: 0.10.0 Apr 28, 2015
@ajoslin ajoslin added the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label May 7, 2015
@ThomasBurleson ThomasBurleson modified the milestones: 0.10.0, 0.11.0 Jun 16, 2015
@ThomasBurleson ThomasBurleson removed the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Jan 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
for: internal contributor The team will address this issue and community PRs are not requested.
Projects
None yet
4 participants