Question title says it all, MWE:
```
\documentclass{article}
\usepackage{lipsum}
\usepackage{mdframed}
\begin{document}
\begin{mdframed}
\lipsum
\begin{mdframed}
\lipsum
\begin{mdframed}
\lipsum
\end{mdframed}
\end{mdframed}
\end{mdframed}
\end{document}
```
Why suddenly does the page-breaking stop?