paper-input icon indicating copy to clipboard operation
paper-input copied to clipboard

Changing maximum height of paper input.

Open ruifung opened this issue 8 years ago • 4 comments

Description

Setting the height via css of paper input causes it to act wierdly.

Expected outcome

The paper input element shrinks to fit.

Actual outcome

the paper-container shrinks, but everything else stays in the same position

Browsers Affected

Only tested on opera.

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari 9
  • [ ] Safari 8
  • [ ] Safari 7
  • [ ] Edge
  • [ ] IE 11
  • [ ] IE 10

ruifung avatar Mar 31 '16 05:03 ruifung

Yeah, paper-input-container is a fairly big element, that has a lot of styles and nested elements (such as the label and the input). Just changing its height will probably not propagate as you would expect to all of its children elements.

notwaldorf avatar Apr 08 '16 19:04 notwaldorf

What's the suggested workaround in this case?

cnbuff410 avatar May 26 '16 03:05 cnbuff410

Yeah I was also unable to work out a good way to change the height of paper-input. Any ideas?

cormacguerin avatar Mar 29 '17 10:03 cormacguerin

Bump

powelljordan avatar Aug 01 '18 21:08 powelljordan