Skip to content

rtl toast alignment is not working properly #179

@mo3auya91

Description

@mo3auya91

Versions

Relese version: 1.7.11
Vue version: 2.5.17

Describe the bug

I tried to create the toast, It works and the toast shows up. but I have a problem with rtl support.
here is my config:

const toastOptions = {
    position: "bottom-left",
    timeout: 5000,
    closeOnClick: true,
    pauseOnFocusLoss: true,
    pauseOnHover: true,
    draggable: true,
    draggablePercent: 0.6,
    showCloseButtonOnHover: false,
    hideProgressBar: false,
    closeButton: "button",
    icon: true,
    rtl: false
}

this will get me a toast like this on mackbook pro 15.4"
Screenshot 2021-03-23 at 20 57 08
and its perfect, but I noticed this is not how it shows at 15.60-inch (1366x768) screens

WhatsApp Image 2021-03-23 at 21 45 47

this how it look on macbook 15 inch on your demo page
please notice the red arrows at position, rtl layout and the toast position

Screenshot 2021-03-23 at 20 50 58

Screenshot 2021-03-23 at 20 52 35

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't workingstaleIssue was not updated for some time and may be closed in the future

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions