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

fix: header not working correctly #687

Closed
wants to merge 1 commit into from
Closed

fix: header not working correctly #687

wants to merge 1 commit into from

Conversation

ajitsinghkaler
Copy link

Fixes #686

The header is not working correctly when content takes more width than the viewport. Check the attached screenshot. Now make the body scroll if it takes more with than the screen.

Datepicker   Angular Material (2)

@Splaktar
Copy link
Contributor

Splaktar commented Dec 5, 2019

Can you please take a look at the issue and fix in #657 to make sure that we aren't re-introducing the same issue on desktop here?

@ajitsinghkaler
Copy link
Author

After checking I found out that this does not lead to the same issues you can also have a check

@Splaktar Splaktar self-assigned this Dec 5, 2019
@Splaktar Splaktar requested a review from crisbeto December 5, 2019 19:05
@ajitsinghkaler
Copy link
Author

@crisbeto can you please review this.

@crisbeto
Copy link
Member

crisbeto commented Dec 9, 2019

On what browser does the original issue happen on? I tried against Chrome, Firefox and IE, but I couldn't reproduce it after resizing the window down so the example doesn't fit.

@ajitsinghkaler
Copy link
Author

@crisbeto it was happen ing on all browsers. I checked on Chrome and Mozilla. I'm also attaching a video link for your reference.

Steps to reproduce open: https://material.angular.io/components/datepicker/overview
Reduce your screen width to 737px in responsive mode(Actually happens in other screens but apparent on this screen).
try to scroll left-right. You will see the error.

https://drive.google.com/file/d/1W49_QHKFNpWUqgmyWqNLv1mFSh6SEejt/view?usp=drivesdk

@ajitsinghkaler
Copy link
Author

@crisbeto please tell me if you are not able to recreate it.

@crisbeto
Copy link
Member

ok, I see what you mean now. I'm not sure that this the way to go though. If you scroll all the way to the bottom you can see that we now have an extra scrollbar:

2019-12-10_18-20-44

@ajitsinghkaler
Copy link
Author

@crisbeto you have any other suggestions that is what I intended to do.

@crisbeto
Copy link
Member

Ideally it should stretch out to the edge of the screen and let the page have the horizontal overflow. I'm having a hard time to behave that way though.

@ajitsinghkaler
Copy link
Author

ajitsinghkaler commented Jan 18, 2020

@crisbeto I've hidden the scrollbars using CSS seems like a valid solution to me

Splaktar added a commit that referenced this pull request Jan 18, 2020
…idth

- close over sidenav on nav item selection

Fixes #686. Closes #687.
Splaktar added a commit that referenced this pull request Jan 31, 2020
…idth

- close over sidenav on nav item selection

Fixes #686. Closes #687.
Splaktar added a commit that referenced this pull request Jan 31, 2020
…idth

- close over sidenav on nav item selection

Fixes #686. Closes #687.
jelbourn pushed a commit that referenced this pull request Feb 4, 2020
Fixes #686 ,closes #687, fixes #550

- fix docs-api layouts to work down to 360px width
  - fixes Observers, Accessibility, Drag and Drop, Platform, and Overlay layouts
- fix DeprecatedconnectedTo to Deprecated connectedTo display issue
- update footer copyright
- fix exception trying to unsubscribe to undefined routeParamSubscription
- change how sidenav is closed on mobile after selecting a nav item
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On some pages the header is not taking full width
4 participants