Just M-X set-variable and set lsp-ui-doc-show-with-cursor to top !
I always found frustrating that even in VS Code LSP errors were shown using only one line (not enough!).
For more information on other possibilities visit https://emacs-lsp.github.io/lsp-ui/

