Open Closed

Change position of toastr #7468


0
antonis created

Hi,

Iam using angular and aspnet core. Trying to change the position of toaster to bottom but it does no work. still shows top right


abp.notify.warn("Test message", "title", {
                    position: "bottom-start"
                })

3 Answer(s)
  • 0
    maliming created

    I can't reproduce the problem you encountered. What is your zero version? And angular notify using sweetalert2

    image.png

  • 0
    antonis created

    image.png

    I am using aspnetzero 6.5.0

  • 0
    maliming created

    hi @antonis

    Try modifying the angular/src/assets/abp-web-resources/abp.notify.js file

    var combinedOptions = Object.assign(defaultOptions, options); Change into var combinedOptions = Object.assign({}, defaultOptions, options);

    see: https://github.com/aspnetzero/aspnet-zero-core/commit/4f2c24c864df8395b436dc7c284dacf6a9ca2fb7#diff-2777b2b0091312d84a5eaa570f159309