I need to use \onslide and \underbrace within brackets [] that are raised to an exponent. However, when I use \onslide, the exponent is not displayed properly. Is there a way to fix this? Below is a code comparing with and without \onslide.
\documentclass[english]{beamer}
\begin{document}
\begin{frame}
\begin{align*}
\left[ \underbrace{A}_{Text} + B \right]^{C} % Works: Power C correctly displayed
\\ \\
\left[ \onslide<1> \underbrace{A}_{Text} + B \right]^{C} % Does not work: Power C not correctly displayed
\end{align*}
\end{frame}
\end{document}


\onslide<1>{\left[\underbrace{A}_{Text} + B \right]^{C}}? – Benjamin Mar 25 '16 at 17:53\left[ \alt<2>{\underbrace{A}_{Text}}{A} + B \right]^{C}– Benjamin Mar 25 '16 at 18:28