bootstrap_form
bootstrap_form copied to clipboard
Rich text area not auto-expanding vertically
A picture is worth a thousand words.
= form.rich_text_area :summary
= form.submit "Save", class: 'btn-primary'
I haven't dug into the CSS yet to understand what's happening, but I'm not sure this is working out of the box as you might expect it to.
seems to be some clash with the .form-control class.
~~Workaround:~~ <- This isn't actually persisting
= form.label :summary
= form.hidden_field :summary
trix-editor id="foo" input="foo_summary_trix_input_foo" role="textbox"
== form.object.summary

Thanks for the report. I will try to take a look at this in the near future, but I'm pretty busy at work these days. If you want to submit a pull request, I'd be happy to look at it. If you decide to work on a PR, assign the bug to yourself (look for the link in the upper-right area of this page.
