rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3.04k stars 81 forks source link

Notification windows with input (Like neorg) are blank until escape is hit #289

Open Radrahil opened 1 month ago

Radrahil commented 1 month ago

image The logo is clearly covered. When I hit escape, image is seen, but I can no longer input the prompt. This has happened after I recently updated all my plugins, and they do not seem to be impacting it. My noice config is here:

return {
    require("noice").setup({

        routes = {
      {
        filter = {
          event = "msg_show",
          kind = "",
        },
        opts = { skip = true },
      },
            {
                view = "notify",
                filter = { event = "msg_showmode" },
            },
        },

        lsp = {
            hover = {
                enabled = false,
                silent = false, -- set to true to not show a message if hover is not available
                view = nil, -- when nil, use defaults from documentation
                opts = {}, -- merged with defaults from documentation
            },

            signature = {
                enabled = false,
                auto_open = {
                    enabled = true,
                    trigger = true, -- Automatically show signature help when typing a trigger character from the LSP
                    luasnip = true, -- Will open signature help when jumping to Luasnip insert nodes
                    throttle = 50, -- Debounce lsp signature help request by 50ms
                },
                opts = {}, -- merged with defaults from documentation
            },

            -- override markdown rendering so that **cmp** and other plugins use **Treesitter**
            override = {
                ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
                ["vim.lsp.util.stylize_markdown"] = true,
                ["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
            },
        },

        views = {
            cmdline_popup = {
                position = {
                    row = 5,
                    col = "50%",
                },
                size = {
                    width = 60,
                    height = "auto",
                },
            },
            popupmenu = {
                relative = "editor",
                position = {
                    row = 8,
                    col = "50%",
                },
                size = {
                    width = 60,
                    height = 10,
                },
                border = {
                    style = "rounded",
                    padding = { 0, 1 },
                },
                win_options = {
                    winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
                },
            },
        },

        -- you can enable a preset for easier configuration
        presets = {
            bottom_search = true, -- use a classic bottom cmdline for search
            command_palette = true, -- position the cmdline and popupmenu together
            long_message_to_split = true, -- long messages will be sent to a split
            inc_rename = false, -- enables an input dialog for inc-rename.nvim
            lsp_doc_border = false, -- add a border to hover docs and signature help
        },
    }),
}
Radrahil commented 1 month ago

My neovim version is

 ➜ nvim -v
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1720049189
Run "nvim -V1 -v" for more info
Radrahil commented 1 month ago

Upon further inspection, it seems it is appearing, just not all the way. image Configuring notify to use static does fix the problem for the first screen, but subsequent screens do not appear.