scroll
The plain scroller, used only to hold the two whole-screen empty states of the Activity inbox; every other screen scrolls in a list.

scroll is a scroll view for content that is not a list of rows. Seed Exact writes it twice, both in the Activity inbox, to hold an EmptyState in place of the list. Every other scrolling surface in the app is a list.

The first use: the empty state sits in a scroll, so the large "Activity" title above it behaves as it does over a list.

What iOS draws

A UIScrollView with whatever is written inside it. It has no cards, cells or separators.

Used by

if not hasIdentity or (ready and not page.available) scroll id=`activity-list-${eid}` flex=1 min-height=0 column testId="activity-placeholder" padding=24 EmptyState(title="No identity selected", …) else if ready and page.available and page.days.length == 0 and error == "" and saveError == "" scroll id=`activity-list-${eid}` flex=1 min-height=0 refresh=retry column padding=24 testId="activity-empty" EmptyState(title="Nothing yet", …) else list id=`activity-list-${eid}` appearance="auto" listStyle="inset-grouped" flex=1 min-height=0 refresh=retry

Attribute

Uses

Meaning

id

2

The same id the list uses. The screen's navigationScroll names it, so whichever of the three is on screen is the scroller tied to the navigation bar and its large title

flex=1, min-height=0

2

Fills the space under the bar

refresh

1

Pull to refresh on the "Nothing yet" state, so an empty inbox can be checked again by pulling as well as by the "Refresh" button. The no identity state has none: there is nothing to reload

Where it is written

scroll

Activity inbox (ActivityScreen)

2

Total

2

Why a scroll here and not a list

Three reasons, the first two from Exact's documentation and the third inferred:

    A whole-screen empty state goes "in place of the list, not a row of it". Inside a grouped list it would be drawn in a card.

    A screen does not scroll by itself. Its content must sit in a scroll or a list, and that scroller is what the navigation bar follows.

    Keeping a scroller with the same id in all three branches means the large title and the pull gesture feel the same whether the inbox is empty or full (inferred from the shared id).

The other whole-screen EmptyState, on the Agent session, is not in a scroll: it sits in a centred column between the bar and the composer, and the part scrolls itself if it ever needs to.

Where the app does not use it

    Reading surfaces use list appearance="none", which gives the same free layout plus pull to refresh (Document, Thread, All comments).

    The Compose comment sheet has no scroller: the text area fills the sheet and scrolls its own text.

    Loading and failure panes on Edit profile are short padded columns with no scroller.

    There is no horizontal scroller anywhere: no carousels, no chips. Wide content wraps instead (row, column and view).

Rules for use

    Reach for list first. Use scroll only when the content is one free-form block and a grouped card would be wrong.

    Give it flex=1 min-height=0 and the id the screen's navigationScroll names.

    Add refresh when what it shows can change on the server.

    Keep one scroller per screen. Nested scrolling is avoided throughout the app.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0
Linked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkscrollscroll
Citations 0Children & links 22

Loading child documents…

Connections show where other documents or comments link to this document.

Related documents

Loading connections…