tutkli/ngx-sonner

Position inconsistency

Closed this issue ยท 2 comments

Please provide the environment you discovered this bug in.

I noticed this bug when working with spartan.ng sonner, which is just a wrapper of this library. Here's a minimal repo.

Description

There seems to be some inconsistencies of the direction which the sonner is coming from. By default the position is "bottom-right", making a toast callback with any top position makes it so that the direction is opposite (instead of appearing top to bottom, it's appearing bottom to top). The effect is also the same if the position of ngx-sonner is set to top, and the toast position is set to bottom.

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Thank you for reporting this! I will take a look into it a soon as I can

๐ŸŽ‰ This issue has been resolved in version 2.0.2 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€