You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with the WindowNotificationManager control in Avalonia when using the NotificationPosition.BottomCenter setting. While the notification is expected to appear at the bottom center of the window, it instead opens at the top of the window. Other NotificationPosition values (e.g., TopLeft, BottomLeft, etc.) work as expected. This behavior seems to be specific to BottomCenter.
To Reproduce
_windowNotificationManager = new WindowNotificationManager(mainWindow)
{
MaxItems = 3,
Position = NotificationPosition.BottomCenter
};
var not = new Notification("Test", "this is a test notification message", NotificationType.Warning);
_windowNotificationManager.Show(not);
Expected behavior
The notification should appear at the bottom center of the window when the NotificationPosition.BottomCenter setting is used, with its position adjusted appropriately at the bottom edge of the window.
Avalonia version
11.2.3
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
There is an issue with the WindowNotificationManager control in Avalonia when using the NotificationPosition.BottomCenter setting. While the notification is expected to appear at the bottom center of the window, it instead opens at the top of the window. Other NotificationPosition values (e.g., TopLeft, BottomLeft, etc.) work as expected. This behavior seems to be specific to BottomCenter.
To Reproduce
Expected behavior
The notification should appear at the bottom center of the window when the NotificationPosition.BottomCenter setting is used, with its position adjusted appropriately at the bottom edge of the window.
Avalonia version
11.2.3
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: