If I use an image with wrapfig into or near an itemized list, the result is the image overlapped to the text (see picture). I red a lot of posts related to wrapfig and itemize incompatibility but no one solved the problem ;-) Any help?
\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
This is an example: first paragraph is OK but the second have the problem!
\begin{itemize}
\item
\parbox[t]{\dimexpr\textwidth-\leftmargin}{%
\vspace{-2.5mm}
\begin{wrapfigure}{r}{0.5\textwidth}
\centering
\includegraphics[width=\linewidth]{beach.png}
\caption{The beach}
\end{wrapfigure}
\lipsum[1]
}
\item
\parbox[t]{\dimexpr\textwidth-\leftmargin}{%
\vspace{-2.5mm}
\begin{wrapfigure}{r}{0.5\textwidth}
\centering
\includegraphics[width=\linewidth]{beach.png}
\caption{The beach}
\end{wrapfigure}
This is a short text...
}
\item \lipsum[1]
\end{itemize}
\end{document}