Skip to content

Hidden b-form-textarea not auto-sizing when becoming visible #3936

@tradingstratagem

Description

@tradingstratagem

Describe the bug

When a textarea is initially hidden it isn't rendered correctly.
The rows property is not taken into account, so the textarea is very small.

Steps to reproduce the bug

  1. Put a b-form-textarea inside a modal
  2. Open the modal
  3. The textarea has not the correct height
  4. Type in something and it automatically adjust its height

Expected behavior

The textarea should have the correct height from the beginning

Before
before

After typing in a character
after

Versions

Libraries:

  • BootstrapVue: 2.0.0-rc.28
  • Bootstrap: 4.3.1
  • Vue: 2.6.10

Environment:

  • Device: Mac
  • OS: macOS Mojave
  • Browser: Chrome
  • Version: 76

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions