- 🇮🇳India dineshkumarbollu
Hi
One method is available for clearing the previous messages or error try$this->messenger()->deleteByType('error');
method once calling the$this->messenger()->addError()
I noticed that the method Drupal\media_directories_ui\Controller\MediaDirectoriesController::addMessagesToResponse()
will prepend new messages above the browser without clearing the existing ones. This becomes problematic, as with each message the browser gets pushed further down, out of view on the modal. Then when you scroll down, if another is shown, new ones are added to the top and you don't see the new ones. The only way to deal with it currently is to close the modal and reopen it.
Change the prepend to a replace action.
See above.
n/a
n/a
Active
2.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hi
One method is available for clearing the previous messages or error try $this->messenger()->deleteByType('error');
method once calling the $this->messenger()->addError()