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

[Feat] Toast option to not dismiss while mouse hover #394

Open
1 task done
sn4k3 opened this issue Jan 26, 2025 · 0 comments
Open
1 task done

[Feat] Toast option to not dismiss while mouse hover #394

sn4k3 opened this issue Jan 26, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sn4k3
Copy link
Contributor

sn4k3 commented Jan 26, 2025

Use the search function to see if this feature has already been suggested.

  • I have searched for duplicate issues.

Description of new feature

Toast popups can be tricky to read when they have a dismiss delay, also for who is a slow reader and/or not native to language would benefit from a paused dismiss when hover the mouse over the toast to be able to get all the information. This is also useful when having actions on toast but not want them to stay there until manual dismiss.

I suggest a bool variable on After method to implement this, eg: SukiToastBuilder After(this SukiToastBuilder.DismissToast dismiss, TimeSpan after, bool pauseWhileHover = true) which when true and user hover the toast it just stops the timer (eg. DispatcherTimer). When it lost hover timer is reset.
Also, I think true should be the default, as this hover to pause dismiss is what modern systems uses with time notifications.

Package Version

6.0 RC

@sn4k3 sn4k3 added the enhancement New feature or request label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant