diff --git a/src/Obj/Element/cy_html_tabs.js b/src/Obj/Element/cy_html_tabs.js index 464c37b..57c9c12 100644 --- a/src/Obj/Element/cy_html_tabs.js +++ b/src/Obj/Element/cy_html_tabs.js @@ -62,10 +62,16 @@ for (let i = 0; i < contentElm.length; i++) { if (i === parseInt(tabindex)) { contentElm[i].style.display = '' + setTimeout(() => { + contentElm[i].style.width = '100%' + contentElm[i].style.overflow = 'unset' + }, 0); tabs[i].className = 'DIV-cy-tab-pane-title-p is-active' } else { contentElm[i].style.display = 'none' + contentElm[i].style.width = 0 + contentElm[i].style.overflow = 'auto' tabs[i].className = 'DIV-cy-tab-pane-title-p' } }