Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: auto scroll is not working on devices narrower than 721px(#1219) #1220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simonzea
Copy link

@simonzea simonzea commented Aug 3, 2023

The flex-basis in the class docs-component-viewer-sidenav-container property was creating problems with the scroll bar in the page https://material.angular.io/cdk/drag-drop/examples for small devices.

Fixes #1219 and angular/components#26476

…r#1219)

The flex-basis in the class docs-component-viewer-sidenav-container property was creating problems with the scroll bar in the page https://material.angular.io/cdk/drag-drop/examples for small devices.

Fixes angular#1219 and angular/components#26476
@@ -104,7 +104,7 @@ div.docs-component-viewer-nav-content .mat-nav-list .mat-mdc-list-item .mat-list

@media (max-width: 720px) {
.docs-component-viewer-sidenav-container {
flex: 1 0 auto;
flex: 1 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file doesn't exist anymore in the latest main branch, and the issue was resolved on version 18.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs-bug(cdkDrag): List examples' auto scroll is not working on devices narrower than 721px
2 participants