Only the active tab item's content is rendered. So the ref's on the other divs don't exist. You should add your refs to the looping ...
確定! 回上一頁