Skip to content

fix(core/toast): toast position works as set in production #1849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/tasty-kiwis-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@siemens/ix": patch
---

Apply __ix-toast__ position in production

Fixes: #1381
2 changes: 1 addition & 1 deletion packages/core/src/components/toast/toast-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function getToastContainer() {

export function setToastPosition(position: ToastPosition) {
const container = getToastContainer();
container.position = position;
container.setAttribute('position', position);
}

function toast(config: ToastConfig): Promise<ShowToastResult> {
Expand Down
Loading