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

Remove Hover Closing of notification #46

Open
mdszekeres opened this issue May 1, 2024 · 2 comments
Open

Remove Hover Closing of notification #46

mdszekeres opened this issue May 1, 2024 · 2 comments

Comments

@mdszekeres
Copy link

I am trying to figure out how to stop the notification from closing after the mouse is hovered over the notification and removed.

I know I can enable Require interaction however that stops the progress bar from showing and stops the Visible duration timer from closing the notification.

@ghidello
Copy link
Member

ghidello commented May 1, 2024

Wow, I haven't thought about this library in a long time.
I'm not sure I understood what you're trying to achieve: are you trying to make the toast require interaction but only after a mouse leave? If this is the case I guess that some code modifications will be needed: the relevant code is here.

If I'll ever go back to blazor I'll definitely need to update this library: blazor version 3.1.0-preview4.19579.2 😄

@mdszekeres
Copy link
Author

No. I am trying to get the toast to stay open when the Visible duration timer has not elapsed. Currently the toast goes away after a mouse leave.

However it might be possible for the code you linked can achieve this goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants