0

I've got this sorta table with lightning:textarea component that severely limited itself in width.

Not sure why this happens.enter image description here

5
  • 2
    Half space seems to be taken by the label element. Share some code for us to try and help further? – Raul Jun 9 '18 at 9:52
  • @Raul not really - it's the slds-form-element__control. But I don't know what to take from it. – dzh Jun 9 '18 at 18:00
  • Also, in this case there is no label (variant="label-hidden") – dzh Jun 9 '18 at 18:01
  • There is a problem while using the variant="label-hidden" attribute - I have encountered it using lightning:input - I did not find any solution, but what you are describing here looks like the same: <lightning:input variant=“label-hidden”> input does not take whole parent width – Itai Shmida Jun 10 '18 at 7:17
  • It seems that there was a change in Summer 18 release that fixed this. Sorry for not adding more info on this, will do soon once I get back to it. – dzh Jun 12 '18 at 14:30
1

This is expected behavior, given you have placed the text area within a column size 2-12.

I would recommend you check slds's Sizing utilities

enter image description here

maybe consider changing the column size of your component's child column elements.

other things to check:

  • padding
  • margins

Additionally, sharing your code might help us better help you.

Not the answer you're looking for? Browse other questions tagged or ask your own question.