Open ragu-manjegowda opened 2 months ago
I have the same issue, The workaround of downgrading to 4.4.7 also worked for this issue.
Downgrading did not solve this for me. However hacking into vim.ui.select
, for instance by installing telescope-ui-select.nvim, did it.
+1, installed dressing.nvim to fix this behavior, disabled input, only need vim.ui.select, otherwise I see my code actions in notifications?!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This is still an issue. Confirming work around of using dressing.nvim (defaulting to telescope) for selection worked well for me.
This is an issue, yes. It seems to be because ui.select()
seems to want synchroneous user input, so nvim-notify only gets the chance to render the first frame of the notification animation. As a workaround, I modified the default animation to skip the fade-in animation, which I actually seem to prefer.
As a more permanent fix, I think we need a better UI for selections instead of relying on nvim-notify?
https://github.com/dapetcu21/nvim-notify/tree/slide-out
{
"dapetcu21/nvim-notify",
branch = "slide-out",
config = function ()
local notify = require("notify")
notify.setup({
render = "wrapped-compact",
stages = "slide_out", -- <==== This is the workaround
})
vim.notify = notify
end,
},
I am also facing this issue. Installing telescope-ui-select allowed me to get around this.
+1, still an issue. Code actions are shown in notifications and therefore cannot be selected.
My workaround was to install https://github.com/nvim-telescope/telescope-ui-select.nvim, as suggested in https://github.com/folke/noice.nvim/issues/938#issuecomment-2313075221 and https://github.com/folke/noice.nvim/issues/938#issuecomment-2414908707.
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10.1
Operating system/version
Arch Linux
Describe the bug
When there is notification,
ui.select
seems to be blocked from being shown. Hitting escape/q makes it visible and disappear without taking any input.Issue appears with both
nvim-notify
andmini
Issue appears withnotify.replace = true
Steps To Reproduce
repro.lua
ui.select
Expected Behavior
Destroy the notification or move it down and let ui.select come to foreground and accept user input.
Repro