iron-autogrow-textarea icon indicating copy to clipboard operation
iron-autogrow-textarea copied to clipboard

y-scrollbar are cropped

Open NicolasRannou opened this issue 7 years ago • 3 comments

Description

The y-scrollbar is cropped.

Expected outcome

Y-scrollbar should not be cropped.

Actual outcome

The y-scrollbar is cropped.

Live Demo

https://www.webcomponents.org/element/PolymerElements/iron-autogrow-textarea/demo/demo/index.html

Steps to reproduce

Male a scrollbar appear in any element.

Browsers Affected

  • [x] Chrome

NicolasRannou avatar Apr 27 '17 12:04 NicolasRannou

screen shot 2017-04-27 at 2 19 44 pm

NicolasRannou avatar Apr 27 '17 12:04 NicolasRannou

couple of extra box-sizing: border-box seem to fix things.

NicolasRannou avatar Apr 27 '17 12:04 NicolasRannou

the following mixin fixes it but may be good to have it set by default:

--iron-autogrow-textarea: {
  box-sizing: border-box;
}

Can submit a PR if interested -

NicolasRannou avatar Apr 27 '17 12:04 NicolasRannou