zendeskgarden/react-components

Double scrollbars on Modal when overflowing with Checkbox

toddoglethorpe opened this issue · 1 comments

The picture says it all but if there's a <Checkbox /> component in the body of a modal and the body content does overflow, a second (obviously unwanted) scrollbar is present.

Reality

modal

Steps to Reproduce

https://codesandbox.io/s/boring-sea-btsuf?file=/src/App.js

Fine Print

  • Component: modal, form
  • Version: 8.26.0
  • Browsers: Chrome 86.0.4240.198 on Fedora

@toddoglethorpe thanks for the clear, concise issue and sandbox. I'm looking into a fix for this one.