In a proof on comodules and coideals I found the following passage:
Let $C$ be a coalgebra, and $I \subset C$ a vector subspace.
Let $\pi \colon C \rightarrow C/I $ be the canonical projection. Consider the linear map $f := (\pi \otimes \mathrm{id}_C) \circ \Delta \colon C \rightarrow C/I \otimes C$.
By the universal property of quotient vector spaces, there is a unique map $F \colon C/I \rightarrow C/I \otimes C$ with $F \circ \pi = f$ if and only if $I \subset \ker(f)$. Now $I \subset \ker(f)$ is equivalent to $\Delta(I) \subset \ker(\pi \otimes \mathrm{id}_C) = I \otimes C$, i.e., $I$ is a right coideal.
Why does the last equality $\ker(\pi \otimes \mathrm{id}_C ) = I\otimes C$ hold?