feat: allow for custom ion-toast positioning
See original GitHub issueFeature Request
Ionic version: [x] 4.x
Describe the Feature Request
Currently with the implementation of toasts in Ionic v4, we have no way of adding some padding or margin to an ion-toast
. I’d like to be able to customize this position in order to adhere to the material design principle outlined here.
Describe Preferred Solution Ideally, this would be something that could be added in the CSS custom properties.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:23
- Comments:14
Top Results From Across the Web
ToastController custom position in ionic - css - Stack Overflow
We are creating Ionic-Native mobile app.We are using ToastController (ToastController).We used position: ' ...
Read more >ion-toast Component: A Dismissible App Notification Alert
Toasts can be positioned at the top, bottom or middle of the viewport. The position can be passed upon creation. The possible values...
Read more >How to create a custom toast component with React
css file. To see what the toast component looks like, let's apply some properties, such as position , to be passed as props ......
Read more >How to Show and Customize Toast Notification in Ionic 6 App
... on integrating and customizing the Ionic Toast UI component using its custom properties, including how to change the position of toast, ...
Read more >Positioning toast | React-Toastify - GitHub Pages
If a position is set on a toast , the one defined on ToastContainer will be replaced. The following values are allowed: top-right,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do not know… I use it like this. Is there any other problem?
css
ts
@darkdread I found a solution for Ionic 5.x. Provide a custom enter animation including an offset for the tabs bar.