question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

md-checkbox inside <div md-dialog-content> shows scrollbar

See original GitHub issue

Bug, feature request, or proposal:

Bug, I think.

What is the expected behavior?

When you use a md-checkbox inside a <div md-dialog-content> container, the scrollbar must not be shown.

What is the current behavior?

The scrollbar is beeing shown when you use the following combination (if you do not use div md-dialog-content attribute, it works just fine):

<div md-dialog-content>
      <md-checkbox>This is just a test text</md-checkbox>
</div>

What are the steps to reproduce?

Just open a md-dialog with the above discribed setup.

plunker: https://plnkr.co/edit/788SUTEm6NPkOCccXimQ?p=preview

What is the use-case or motivation for changing an existing behavior?

Use the md-checkbox inside md-dialog

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular/cli: 1.0.4 node: 6.10.3 os: win32 x64 @angular/animations: 4.1.3 @angular/cli: 1.0.4 @angular/common: 4.1.3 @angular/compiler: 4.1.3 @angular/compiler-cli: 4.1.3 @angular/core: 4.1.3 @angular/flex-layout: 2.0.0-beta.8 @angular/forms: 4.1.3 @angular/http: 4.1.3 @angular/material: 2.0.0-beta.5 @angular/platform-browser: 4.1.3 @angular/platform-browser-dynamic: 4.1.3 @angular/platform-server: 4.1.3 @angular/router: 4.1.3

Typescript: 2.3.2

Is there anything else we should know?

no

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tinayuangaocommented, May 23, 2017

There’s no scrollbar in your plunker example.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

md-checkbox inside <div md-dialog-content> shows vertical ...
When you use a md-checkbox inside a <div md-dialog-content> container the vertical scrollbar must not be shown. What is the current behavior?
Read more >
CheckBoxList with a scrollbar - Stack Overflow
I tried wrapping the checkboxlist in a div and limiting the height of the DIV and setting the overflow to auto and then...
Read more >
How to Hide the Scrollbar in CSS - HubSpot Blog
Learn how to hide the scrollbar in CSS, plus how to disable scrolling or keep scrolling enabled on your website.
Read more >
Element.scroll() - Web APIs - MDN Web Docs
Chrome Edge scroll Full support. Chrome61. Toggle history Full support. Edge79. T... options.behavior parameter Full support. Chrome61. Toggle history Full support. Edge79. T... options.left parameter Full...
Read more >
Hide scroll bar, but while still being able to scroll using CSS
To hide the scrollbar use -webkit- because it is supported by ... .inner-border::-webkit-scrollbar { ... < div class = "inner-border" >.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found