Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] --front-toast-height shared between different positions, breaks stack styling #419

Open
zefj opened this issue May 16, 2024 · 0 comments

Comments

@zefj
Copy link

zefj commented May 16, 2024

Describe the feature / bug 馃摑:

When you render toasts in different positions, one ol element per position is inserted into the DOM. However, the --front-toast-height variable value is shared between them and always takes the height of the last rendered toast regardless of its position, which leads to broken styling of the toast stacks. See the recording below:

Screen.Recording.2024-05-16.at.12.24.06.mov

Steps to reproduce the bug 馃攣:

  1. Render two single-line toasts in one position
  2. Render a multi-line toast in another position

I believe making the --front-toast-height value independent for each position container would solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant