Behavior & Accessibility

User Interaction Dismiss Options (Pro)

3 min read

User Interaction settings add extra ways visitors can dismiss a notification beyond the close button. These options are available with Notifal Pro on the Behavior tab.

Free plan users see an overview of these features with an upgrade option. See What Is Notifal? (Free vs Pro).

Basic dismiss timing (close button, auto-hide) is covered in Dismiss Rules.

Available options (Pro)

SettingWhat it doesBest for
Dismiss on Click OutsideClicking the dimmed backdrop (popup) or area outside the box closes the notificationPopups where you want an easy exit without hunting for X
Dismiss on Escape KeyPressing the Esc key closes the notificationDesktop users and keyboard-friendly sites
Dismiss on ScrollScrolling the page closes the notificationToasts and side boxes that should not block reading
Swipe to DismissSwiping on touch devices closes the notificationMobile-friendly toasts and side notifications

All four are off by default. Turn on only what fits your design. Too many dismiss paths can frustrate visitors who scroll or tap by accident.

Tips by display type

Popup (Modal): Dismiss on Click Outside and Escape are common pairings. See Display Types.

Floating Side Box (Toast): Swipe to Dismiss and Dismiss on Scroll work well. Use with care on long pages where visitors scroll a lot.

Floating Bar (Topbar): Outside click is less common for full-width bars. A visible close control is usually clearer.

Works with other behavior settings

  • Prevent Page Scroll (Behavior → Advanced): When ON, the page behind a popup does not scroll. Pair thoughtfully with Dismiss on Scroll (scrolling may still close the notification depending on setup).
  • Respect User Dismissal (Timing tab): After any dismiss method, the notification can stay hidden for the rest of the session.
  • Focus Trap (Accessibility): See Accessibility: Focus Trap and ARIA if you use Escape to dismiss while keyboard users are inside the popup.

In this topic

  1. Dismiss Rules
  2. User Interaction Dismiss Options (Pro) (you are here)
  3. Accessibility: Focus Trap and ARIA
  4. Tab Badge Behavior (Pro)