Imagine you are writing a reusable UI component for a scrollable list.
-
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 stay_at_bottom
-
@mcc DigDeeper
-
@mcc "sticky" 🤔
@elomatreb @mcc gotta be "stickyBottom"
-
@mcc follow or tail
-
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 it's sort of like "follow stream" or "streaming scroll" or something along those lines.
-
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 Is it just the bottom? I want to call it scrollToInsertion.
-
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 Pit of Abyss
-
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 in DebugView the menu option for this is called "Auto Scroll"
-
@mcc in DebugView the menu option for this is called "Auto Scroll"
@phairupegiont @mcc If it’s an accepted term, no point re-inventing.
-
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 it's like we page mode vs logs mode... Maybe reading_mode, but true when it doesn't auto follow.
-
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 AlwaysReachNewLow
Also the name of my autobiography -
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 “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)
-
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 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
-
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 autoScrollToNewItem - name implies it scrolls to reveal a new item wherever its added, not just at end.
-
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 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"
-
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 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.
-
@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.
-
@elomatreb @mcc gotta be "stickyBottom"
@kboyd @elomatreb @mcc I was more thinking "sticky end"...
-
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 Folllower
-
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?
NavigateToNewListEndOnPush