diff --git a/lua/noice/view/nui.lua b/lua/noice/view/nui.lua index 24642f4..3aaf2f5 100644 --- a/lua/noice/view/nui.lua +++ b/lua/noice/view/nui.lua @@ -188,7 +188,9 @@ function NuiView:hide() if self._nui and not self._visible then self:clear() self._nui:unmount() - self._scroll:hide() + if self._scroll then + self._scroll:hide() + end end end, { finally = function()