I'm using vim-autoresize for resize windows. It uses:
augroup _vim-autoresize
autocmd!
autocmd WinEnter * call autoresize#resize()
augroup end
But WinEnter
just changes behavior when your cursor in another window and jump back
How autoresize when open the window?