SfPopup for Toast and SnackBar notifications

Hello,
can the SfPopup be adapted to behave like a toast and or snackbar ?
the requirments are as following:
for a Toast:
     - No action buttons
     - Auto dismiss after a defined time
     - Dismiss on swipe or touch
     - Simple animation (e.g. slide up from bottom edge)
for a Snackbar
     - Auto dismiss after a defined time
     - Dismiss on swipe or touch
     - Simple animation (e.g. slide up from bottom edge)
     - Optional Action button (like "Got it" or "Undo")

Thnak you



3 Replies

GS Gokul Saravanan Syncfusion Team December 10, 2020 06:09 AM UTC

Hi Mohammed, 
 
 
Currently we don’t have support to close popup automatically like toast, snackbar in our SfPopupLayout control. We have already logged feature request for “Support to close popup automatically like toast, snackbar” and your requirement can achieve using this feature. We will implement this feature in any of our upcoming release.    
    
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will implement this feature in any of our upcoming release. We will let you know when this feature is implemented. We appreciate your patience until then. 
 
We would like you to know that your requirement is achieved through sample level itself, using Timers to auto dismiss after specific time and for swipe to close need to write gesture to popview content and add command for the gesture and set “SfPopupLayout.IsOpen = false” in command call back method. 
 
For animation and layout customizations you can refer our documentation link  
 
We hope it helps. Please let us know if you need further assistance. 
 
Regards,  
Gokul Saravanan 



JO John December 21, 2024 06:35 PM UTC

Any update on this feature ?



AF Anees Fathima Shajahan Syncfusion Team December 23, 2024 01:33 PM UTC

Hi John,


We have discontinued Xamarin support as the framework no longer provides support.

We have migrated to MAUI, and as a result, new features are not being implemented in Xamarin.
 

Currently, we don't provide a dedicated control for custom snackbars or toasts, and there are no immediate plans to implement one.
 

However, as a workaround, you can use the SfPopup in .NET MAUI and leverage its AutoCloseDuration property. This property allows you to specify a duration in milliseconds for the popup to automatically close without requiring user interaction.
 

UG: https://help.syncfusion.com/maui/popup/popup-positioning#close-the-popup-automatically-after-timeout


Regards,

Anees Fathima.


Loader.
Up arrow icon