File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/form-textarea Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import formTextMixin from '../../mixins/form-text'
88import formSelectionMixin from '../../mixins/form-selection'
99import formValidityMixin from '../../mixins/form-validity'
1010import listenOnRootMixin from '../../mixins/listen-on-root'
11- import { getCS , isVisible } from '../../utils/dom'
11+ import { getCS , isVisible , requestAF } from '../../utils/dom'
1212import { isNull } from '../../utils/inspect'
1313
1414// @vue /component
@@ -98,10 +98,10 @@ export const BFormTextarea = /*#__PURE__*/ Vue.extend({
9898 this . setHeight ( )
9999 } ,
100100 methods : {
101- visibleCallback ( visible ) {
101+ visibleCallback ( visible ) /* istanbul ignore next: IntersectionObserver not supported in JSDOM */ {
102102 // Called by intersection observer directive
103103 if ( visible ) {
104- this . setHeight ( )
104+ requestAF ( this . setHeight )
105105 }
106106 } ,
107107 setHeight ( ) {
You can’t perform that action at this time.
0 commit comments