rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
2.88k stars 72 forks source link

When stages is set to a value other than 'fade_in_slide_out', the notification window position and size cannot be refreshed #275

Open gczcn opened 1 month ago

gczcn commented 1 month ago

Hello, I'm having some problems configuring this plugin. Notification window position and size cannot be refreshed when stages are set to non-default values.

The following method should reproduce the problem:

  1. Set stages to slide
  2. Find a file and save it using :w and wait for the notification to pop up (Need to make the notification window width exceed the minimum width)
  3. After the notification pops up, type :echo 1

The notification window may not be displayed properly now.

The video below shows the problem I encountered:

https://github.com/rcarriga/nvim-notify/assets/146422676/2dace5fe-b0cd-4c76-bce1-0ebbbfe8b56f

When the previous notification disappears, the next notification will not replace it:

https://github.com/rcarriga/nvim-notify/assets/146422676/afacd6a0-0360-4d50-be6e-a5beb1afc933

Is there any way to solve this problem?