Let $f\colon\mathbb R^2\to\mathbb R$ be a measurable function such that \begin{equation*} F(t):=\int_{\mathbb R}dx\,f(t,x) \end{equation*} exists and is finite for all real $t$. Suppose that \begin{equation*} f_t(t,x):=\frac{\partial f(t,x)}{\partial t} \end{equation*} exists and is finite for all real $t,x$, and also suppose that \begin{equation*} \int_{\mathbb R}dx\, f_t(t,x) \end{equation*} exists and is finite for all real $t$.
Then, under certain additional conditions, \begin{equation*} F'(t)=\int_{\mathbb R}dx\, f_t(t,x) \tag{1}\label{1} \end{equation*} for all real $t$; see e.g. Folland, Theorem 2.27 or the more general Lemma 2.3.
Among counterexamples to \eqref{1} are this and this. However, in those counterexamples the function $f$ is not continuous.
A question arose whether there is a counterexample to \eqref{1} with a continuous function $f$. Such an example will be given in the answer below.