MailFathom - system · #1507
Notification centre: gestures
On a phone the notification panel has two gestures across its whole surface: an upward move started anywhere on the nav bar pulls it out; a downward move started anywhere on the open panel - the header, the filters, a row, the empty state - pushes it away. Tapping the bell is unchanged as a second route to the same panel. There is no separate “top handle only” grip any more.
{{ themeIcon }}{{ themeAttr }}
{{ b.icon }}
keyboard_arrow_up
1 · Bar at rest
The finger touched the bar and travelled 0 px. Up to 12 px it is still a tap on that bar item - the panel does not exist yet.
{{ b.icon }}
notifications
Notifications
3 new
All
Unread · 3
{{ r.icon }}
keyboard_arrow_up
2 · Gesture halfway
The panel sits exactly where the finger is, over the bar it came out of: 0.54 of the panel height travelled, scrim opacity 0.54. No smoothing and no delay - releasing here opens the panel, because 0.54 > 0.32.
{{ b.icon }}
notifications
Notifications
3 new
close
All
Unread
Mark all read
{{ r.icon }}
3 · Panel open
Gesture committed: distance 1.0, scrim full, and the panel covers the whole screen, the nav bar included - it comes out over the bar rather than stopping above it, so nothing beneath it can be pressed while it stands. The same state a tap on the bell leads to.
{{ b.icon }}
notifications
Notifications
3 new
All
Unread · 3
{{ r.icon }}
keyboard_arrow_up
spring back 260 ms
4 · Spring back
The finger was released after 0.24 of the panel height at 0.2 px/ms - neither distance nor velocity reaches the threshold, so the panel returns in 260 ms on a cubic-bezier(.32,.72,0,1) curve. The scrim returns on the same curve.
The numbers the implementation reads
{{ n.value }}
{{ n.name }}
{{ n.text }}
Who hands the gesture to whom
{{ h.icon }}
{{ h.name }}
{{ h.text }}
{{ h.rule }}
Where this applies
Phone layout only, and only with a coarse pointer (pointer: coarse). Fold, tablet and desktop keep exactly what they draw today: the panel slides in from the left next to the rail and closes via the scrim, the close button or Escape - no drag gesture, because there is no bottom nav bar there.