Skip to content

bug(zen): zoom mode breaks popups (e.g LSP hover info) #345

Closed
@iniw

Description

Did you check docs and existing issues?

  • I have read all the snacks.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of snacks.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.10.2

Operating system/version

MacOS 10.15.7

Describe the bug

zen's "zoom" mode breaks the LSP "hover info" window (K key in LazyVim). It does create the window, just doesn't render it - in fact if you press K again, which makes the cursor go to the hover info popup, essentially stealing focus from the zoomed-in window, you can move around and even yank text without even seeing the window.

I assume you can also extend this bug to other popup windows like it, but the hover info is the only one that comes to mind at the moment.

Steps To Reproduce

  1. Enter zoom mode
  2. Open the hover info popup
  3. Note that it doesn't appear on screen

Expected Behavior

  1. Enter zoom mode
  2. Open the hover info popup
  3. The popup appears on screen

Repro

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions