Toast remains partially swiped when pointer is released outside the browser window
Author: globusyelCreated Sep 11, 2026Updated Sep 11, 2026
Bug report
When a user starts swiping a Toast and moves the pointer outside the browser window before releasing it, Radix does not appear to detect that the pointer has been released. As a result, the Toast remains partially swiped and is not dismissed or removed from the queue.
Current Behavior
- the Toast remains stuck in a partially swiped position
- the swipe does not complete or reset, and the Toast is not removed from the queue
- when multiple Toasts are displayed, the stuck Toast also affects the positioning and behavior of the remaining Toasts in the queue.
Expected behavior
When the pointer is released outside the browser window, the Toast should either:
- complete the dismissal if the swipe threshold was reached; or
- return to its original position if the swipe threshold was not reached The Toast should not remain stuck in a partially swiped state or block the remaining Toasts in the queue.
Reproducible example
- Display several Toasts so that multiple Toasts are visible in the queue.
- Start swiping the first Toast toward the dismissal direction.
- While still holding the pointer down, move it outside the browser window.
- Release the pointer outside the browser window.
- Move the pointer back into the browser window.
- Observe the partially swiped Toast and how it affects the remaining Toasts in the queue.
Suggested solution
Possible options may include listening for pointercancel, ostpointercapture, or the window losing focus.
Additional context
We attempted to handle it in our application and could not find a reliable workaround. The issue appears to occur because the browser does not deliver the expected pointerup event to the Toast after the pointer leaves the browser window.
Your environment
| Software | Name(s) | Version |
|---|---|---|
| Radix Package(s) | radix-ui/react-toast | 1.2.15 |
| React | n/a | 19.2.4 |
| Browser | Chrome | 151.0.7922.109 |
| Assistive tech | - | - |
| Node | n/a | v24.15.0 |
| npm/yarn/pnpm | npm | 11.12.1 |
| Operating System | macOS Sequoia | 15.7.5 (24G624) |
Source: radix-ui/primitives