Smaller popper popup height first time
When I run vterm, I notice it opens a small popup, but height is less. But when buffer has more text and I toggle popper-toggle-latest a different height is applied. I expect popper popup window to have consistent height.
When I open normally

When I run something in vterm and it logs more text into the buffer and I toggle popper-toggle-latest, it shows a different height
What I expect is the height to stay consistent as in second screenshot, the height in first screenshot is too small to work into.
This should not be happening. Can you add your Popper config here?
@karthink here it is
(use-package
popper
:ensure t
:bind (("C-`" . popper-toggle-latest)
("M-`" . popper-cycle)
("C-M-`" . popper-toggle-type))
:hook ((popper-open-popup-hook . centaur-tabs-local-mode))
:init
(setq popper-reference-buffers '("eshell*"
"shell*"
"vterm"
"*SQL"
"*exunit-compilation*"
help-mode
compilation-mode))
(popper-mode +1)
(popper-echo-mode +1))
Same here with a similar configuration. Whatever the frame size, the compilation-mode popup started with recompile is always 5 lines high. If I toggle with popper-toggle-latest, it shows it in its correct size.
Try add (setq popper-window-height 15) for consistent height of popper
I haven't had the time to track down this bug. For now, I second @NikhilRajPandey's workaround. You can also set popper-window-height to a fraction of the frame height. For example:
(setq popper-window-height 0.33)
will fix popup height at 33% of the frame size.