-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: Implement Toast pause #27811
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: Implement Toast pause #27811
Conversation
Implements two new options: * pauseOnWindowBlur - pauses toast timeout when window is not focused * pauseOnHover - pauses toast when cursor enters the toast surface
📊 Bundle size report🤖 This report was generated against 88ff00c2979ecd025f725fa3fc4e4d370f95cfc4 |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 767014b:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 381cc2d5b1bd6032428bcc506501b2a591825c4a (build) |
packages/react-components/react-toast/src/state/vanilla/toast.ts
Outdated
Show resolved
Hide resolved
* feat/drawer-header: feat: Update existing toasts (microsoft#27827) bugfix: fix horizontal overflow on tree (microsoft#27825) feat: Allow toast options to be configured from the toaster (microsoft#27820) feat: creates TreeItemAside component (microsoft#27701) fix: generate API fix: use composition to build DrawerHeaderTitle Virtualizer: Dynamic scroll view and optimizations (microsoft#27298) bugfix(react-dialog): change DialogTitle default action icon size (microsoft#27815) feat: Implement Toast pause (microsoft#27811) fix: ToolbarToggleButton should not follow Toolbar size (microsoft#27797) feat: defers useControllableState state to initializer method (microsoft#27717) feat: Implement toast dismiss (microsoft#27810)
Implements two new options:
Addresses #27776