branch: master
commit 7b437a6a3309a4491cbb43ee154528673a87c14c
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy--minibuffer-setup): Fix ivy-fixed-height-minibuffer for inline
    
    Fixes #997
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 94e49c4..74dc5f2 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2147,7 +2147,8 @@ depending on the number of candidates."
   (when (display-graphic-p)
     (setq truncate-lines t))
   (setq-local max-mini-window-height ivy-height)
-  (when ivy-fixed-height-minibuffer
+  (when (and ivy-fixed-height-minibuffer
+             (not (eq (ivy-state-caller ivy-last) 'ivy-completion-in-region)))
     (set-window-text-height (selected-window)
                             (+ ivy-height
                                (if ivy-add-newline-after-prompt

Reply via email to