I use NERDTree as a file explorer and after using its Menu, Vim does not return to its original size, see screenshots below.
The editor returns to normal only if I resize the terminal window.
My system config
NERDTree Config
nmap <Leader>nt :NERDTreeFind<CR>
let NERDTreeQuitOnOpen=1
let NERDTreeShowHidden=1
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
let g:NERDTreeIgnore = ['^node_modules$']
I have a same issue and I have remove vim v9 and install from source last v8 and it's work! I don't know what is happen in 9 version vim with the bottom pane, but I have observe that vim v8 on my remote server have a perfect working.
UPD: And I founded issue on the NERDTree repo with the issue: https://github.com/preservim/nerdtree/issues/1321