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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Positioning Option for Toaster Component #1915

Open
a-abdurazzoq opened this issue Oct 24, 2024 · 4 comments
Open

Feature Request: Add Positioning Option for Toaster Component #1915

a-abdurazzoq opened this issue Oct 24, 2024 · 4 comments
Assignees
Labels
component: Toaster enhancement New feature or request

Comments

@a-abdurazzoq
Copy link

a-abdurazzoq commented Oct 24, 2024

Hello team!

We are using the Toaster component from the @gravity-ui/uikit package in our project. Currently, there is no option to change the position of the toast notifications on the screen.

It would be great to have a parameter that allows specifying the position of the notifications.
Suggested positions could include: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right"

This feature would provide more flexibility for placing toast messages in different areas of the screen based on the UI design. There’s no need for custom positioning beyond these predefined locations.

Thanks in advance!

@korvin89 korvin89 added enhancement New feature or request component: Toaster labels Oct 24, 2024
@a-abdurazzoq a-abdurazzoq changed the title Запрос на добавление параметра для изменения позиции уведомлений в компоненте Toaster Feature Request: Add Positioning Option for Toaster Component Oct 24, 2024
@korvin89
Copy link
Contributor

cc @ogonkov

@korvin89
Copy link
Contributor

@a-abdurazzoq Do you actually need "top-center" and "bottom-center" positions? We are not quite sure about them

@a-abdurazzoq
Copy link
Author

@a-abdurazzoq Do you actually need "top-center" and "bottom-center" positions? We are not quite sure about them

No, I don't actually need those positions. I included them just in case someone else might find them useful.

@ykamendrovskiy
Copy link

Hey guys! From the design side all the corner-anchored options seem ok
cc @korvin89 @ogonkov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Toaster enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants