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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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