Our development team at ServiceNow is currently working on a project that involves incorporating multiple widgets into different tabs on a page. To show and hide these tabs, we are utilizing the ng-show/ng-hide method along with applying some basic transition CSS to create a smooth fading effect when switching between tabs:
.animate-switch {
transition: all linear 1s;
opacity: 1;
}
.animate-switch.ng-hide {
opacity: 0;
}
While the current setup functions as intended, there seems to be a slight issue where upon completion of the fade out effect, there is a noticeable jolt in the transition as the active tab is revealed. We are looking for ways to enhance our CSS code to ensure a seamless transition between tabs. Is there any suggestion or modification that can help improve this transition?