I have a Lightning web component (LWC) using showToastEvent. The pester
mode is not working right -- I do not see a close icon and it closes automatically in 3 seconds.
This answer says to clear the cache, but I've tried it on separate browsers and machines and it still doesn't work properly.
The close icon is displayed for dismissable
but I want to use pester
.
Has anyone else seen this issue? I'm using the LWC in a quick action so I've had to wrap it an aura component. Could this be the reason?
const evt = new ShowToastEvent({
"title": "Warning",
"message": "You must enter at least a zip code, an email or a mobile number",
"mode": "pester",
"variant": "warning"
});
this.dispatchEvent(evt);