Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Auto-height b-form-textarea within a b-tab does not work #3702
When b-form-textarea is contained within a b-tab that is not initially active, the auto-height feature does not work. In the following code, Tab 1 - the initially active tab, works and the textarea is automatically resized, Tab 2 however does not resize the textarea when clicked.
This can be fixed by calling setHeight() on the b-textarea component when the tab changes but this is not a published API method and resize should occur automatically.
This is because content of the b-tab is rendered in dom, but visually hidden. b-form-textarea checks for height on mount (and on content change), and since it is not visible (
This issue would happen anytime a
You can make the b-tab lazy (