akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.06k stars 1.51k forks source link

[TOASTR]: Add ability to position toast in top center #2439

Open Roma36 opened 4 years ago

Roma36 commented 4 years ago

Issue type

I'm submitting a

Issue description

Current behavior: Currently, NbGlobalPosition allows only to use TOP_RIGHT, TOP_LEFT, BOTTOM_RIGHT, BOTTOM_LEFT positions.

Expected behavior: NbGlobalPosition should allow to specify TOP_CENTER, BOTTOM_CENTER positions.

Other information:

Currently, it is hardly possible to extend ToastrModule due to the fact, that NbPositionHelper, NbPositionBuilderService and NbToastrContainerRegistry classes depend on the concrete enum NbGlobalLogicalPosition.

image

image

image

sukeshlaghate commented 4 years ago

Apart from Top center, bottom center it would be useful to include, middle(for placing in center of screen), left center and right center

frankiedrake commented 3 years ago

Just want to join to support this feature, would be very nice :)

JustDoItSascha commented 1 year ago

No updates on this?