igx-toast position input is not working properly #10305
Labels
🐛 bug
Any issue that describes a bug
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When the "position" input value is set to "top", the toast component is shown at the bottom anyway.
Steps to reproduce
Result
The "position" value is ignored.
Expected result
The toast should be placed at top
Workaround
It can be solved setting a value to the "positionSettings" directly instead of setting the "position" value.
Observations
It seems like the "positionSettings" value is initialized internally before the "position" value is set, so it keeps its default "position" value forever. The set of the "position" input is not updating the "positionSettings" vertical direction dinamically.
The text was updated successfully, but these errors were encountered: