Before this commit, if we put an invisible in attrs of div tag for the chatter, the attrs is not taken into account because when the chatter is mounting this div is replaced. This commit changes the class for the chatter in project sharing and check if the div is visible before mounting the chatter. task-2379518 closes #73341