0

I wanted to show toast in my LWC component which is displayed in the Salesforce1 app as the separate window (opened after a button is clicked). I have a problem with IOS because toast is displayed behind that window (on record detail page). Do you know is there any chance to fix that? Like moving it to the top?

On Android, it is working as expected

Code for calling the component:

   handleToastDisplay(title, message, variant) {
    const evt = new ShowToastEvent({
        title: title,
        message: message,
        variant: variant,
        mode: 'sticky'
    });
    
    this.dispatchEvent(evt);
}

I have no idea what I can post to help you guys identify the problem so please let me know.

  • may be you can upload some images to show us how is it working on android and how it is working on IOS – User6670 Jul 18 '20 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.