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(material/input): uncessary scroll bar on auto-resize textarea in some cases #21619

Merged
merged 1 commit into from
Feb 9, 2021

Commits on Jan 18, 2021

  1. fix(material/input): uncessary scroll bar on auto-resize textarea in …

    …some cases
    
    It's common for apps to set `box-sizing: border-box` on all elements in the app which ends
    up causing unnecessary scroll bars on auto-resizing textareas. These changes explicitly
    set `box-sizing: content-box` to fix it.
    
    Note that ideally we'd do this at the `cdk/text-field` level since it is the one responsible
    for resizing the textarea, but we generally try to avoid changing the user's layout through
    the CDK.
    
    Fixes angular#21560.
    crisbeto committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    14178c0 View commit details
    Browse the repository at this point in the history