Imagine you are writing a reusable UI component for a scrollable list. You want your list to have a property such, if true, the list follows the rule "if the user is already scrolled to the bottom of the list, and a new item is added to the bottom, autoscroll to the new bottom".

What would you name this property?

@mcc something like pinAtLastItem
@romromrom @mcc "pinTheBottom" is _right there_.
@mcc reaching a new low
@mcc "sticky" 🤔
@elomatreb @mcc gotta be "stickyBottom"

@kboyd @elomatreb @mcc Beat me to it.

I unironically think "sticky bottom" is an excellent name for this feature -- concise and expressive. But I also suspect it already has a name.

@kboyd @elomatreb @mcc I was more thinking "sticky end"...
@mcc Best I can manage on short notice is "scroll on extend"
@mcc `follow_bottom` (or perhaps `follow_edge` if it also applies to the top)
@SnoopJ @mcc I like that "follow" has the same semantics as it does in the context of tail and the like.
@mcc follow or tail
@elso @mcc I also like tail, by analogy to tailing logs using the Linux tail command.
@elso @mcc this would have been my recommendation, possibly combined in FollowTail or TailFollow
@mcc if it's meant for something intrinsically time-based (like a log): "follow" or "follow updates".
Otherwise, I don't know.
@mcc DigDeeper
@theZosia @mcc "DelveDeeper", surely? :)
@mcc stay_at_bottom
@mcc it's sort of like "follow stream" or "streaming scroll" or something along those lines.
@mcc Is it just the bottom? I want to call it scrollToInsertion.
@mcc in DebugView the menu option for this is called "Auto Scroll"
@phairupegiont @mcc If it’s an accepted term, no point re-inventing.
@mcc it's like we page mode vs logs mode... Maybe reading_mode, but true when it doesn't auto follow.
@mcc AlwaysReachNewLow
Also the name of my autobiography
@mcc “anchorsToBottom” maybe? i’ve been writing something similar which has an “anchorIndex” that can be equal to the list’s length (which produces this behavior)

@mcc brainstorm ([bracketed] parts are optional, / indicates an alternative, * indicates one I like more):

[auto]scroll_to_update, [auto]scroll_to_latest, [auto]follow_updates, [auto]scroll_track_updates, *[auto]scroll_at_bottom, [update_/auto]scroll_on_grow[th], [update_/auto]scroll_on_expand, [update_/auto]scroll_on_add, *[auto]scroll_bottom_to_latest

@mcc autoScrollToNewItem - name implies it scrolls to reveal a new item wherever its added, not just at end.

@mcc A vote for "auto_scroll" variants: Wireshark calls this "Automatically scroll during live capture" and has the healthy semantics you describe where if you manually scroll away it will stop autoscrolling, and it resumes if you manually scroll to bottom again

you could probably afford to be a bit more verbose though like "auto_scroll_on_append"

@mcc Is this generalized to "when the height of the list changes, preserve the current position as a fraction of the height rather than as an absolute" or is it a property peculiar to the bottom?

In the former case, something like "PositionHeightRelative". In the latter, something like "StayAtBottom". Or maybe even "StickyBottom" if I were feeling naughty.

@mcc Folllower

@grumpybozo @mcc

„tail“ command from GNU coreutils uses „--follow“

@mcc

NavigateToNewListEndOnPush

@rperezrosario so this is where I admit this is all about me trying to find a way to word it other than "stick_bottom"

@mcc `keepAtEnd`.

Unrelated, I initially read this as saying "Imagine you are a reusable UI component…" and it landed very differently for me

@clarity smalltalk documentation standards in reverse
@mcc keepScrollingScrollingScrollingHuh
@mcc

fzf has the "follow" keyword for its preview pane to tell it to display the latest lines continuously