Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Imagine you are writing a reusable UI component for a scrollable list.

Imagine you are writing a reusable UI component for a scrollable list.

Scheduled Pinned Locked Moved Uncategorized
14 Posts 14 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mcc@mastodon.socialM mcc@mastodon.social

    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?

    eramdam@social.erambert.meE This user is from outside of this forum
    eramdam@social.erambert.meE This user is from outside of this forum
    eramdam@social.erambert.me
    wrote last edited by
    #4

    @mcc stickTo[side]

    1 Reply Last reply
    0
    • mcc@mastodon.socialM mcc@mastodon.social

      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?

      elomatreb@chaos.socialE This user is from outside of this forum
      elomatreb@chaos.socialE This user is from outside of this forum
      elomatreb@chaos.social
      wrote last edited by
      #5

      @mcc "sticky" πŸ€”

      kboyd@phpc.socialK 1 Reply Last reply
      0
      • mcc@mastodon.socialM mcc@mastodon.social

        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?

        darkling@mstdn.socialD This user is from outside of this forum
        darkling@mstdn.socialD This user is from outside of this forum
        darkling@mstdn.social
        wrote last edited by
        #6

        @mcc Best I can manage on short notice is "scroll on extend"

        1 Reply Last reply
        0
        • mcc@mastodon.socialM mcc@mastodon.social

          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?

          snoopj@hachyderm.ioS This user is from outside of this forum
          snoopj@hachyderm.ioS This user is from outside of this forum
          snoopj@hachyderm.io
          wrote last edited by
          #7

          @mcc `follow_bottom` (or perhaps `follow_edge` if it also applies to the top)

          xgranade@wandering.shopX 1 Reply Last reply
          0
          • mcc@mastodon.socialM mcc@mastodon.social

            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?

            elso@chaos.socialE This user is from outside of this forum
            elso@chaos.socialE This user is from outside of this forum
            elso@chaos.social
            wrote last edited by
            #8

            @mcc follow or tail

            1 Reply Last reply
            0
            • mcc@mastodon.socialM mcc@mastodon.social

              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?

              val@oc.todon.frV This user is from outside of this forum
              val@oc.todon.frV This user is from outside of this forum
              val@oc.todon.fr
              wrote last edited by
              #9

              @mcc if it's meant for something intrinsically time-based (like a log): "follow" or "follow updates".
              Otherwise, I don't know.

              1 Reply Last reply
              0
              • mcc@mastodon.socialM mcc@mastodon.social

                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?

                thezosia@mastodon.com.plT This user is from outside of this forum
                thezosia@mastodon.com.plT This user is from outside of this forum
                thezosia@mastodon.com.pl
                wrote last edited by
                #10

                @mcc DigDeeper

                sleet01@fosstodon.orgS 1 Reply Last reply
                0
                • snoopj@hachyderm.ioS snoopj@hachyderm.io

                  @mcc `follow_bottom` (or perhaps `follow_edge` if it also applies to the top)

                  xgranade@wandering.shopX This user is from outside of this forum
                  xgranade@wandering.shopX This user is from outside of this forum
                  xgranade@wandering.shop
                  wrote last edited by
                  #11

                  @SnoopJ @mcc I like that "follow" has the same semantics as it does in the context of tail and the like.

                  1 Reply Last reply
                  0
                  • mcc@mastodon.socialM mcc@mastodon.social

                    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?

                    shaadra@mastodon.gamedev.placeS This user is from outside of this forum
                    shaadra@mastodon.gamedev.placeS This user is from outside of this forum
                    shaadra@mastodon.gamedev.place
                    wrote last edited by
                    #12

                    @mcc stay_at_bottom

                    1 Reply Last reply
                    0
                    • thezosia@mastodon.com.plT thezosia@mastodon.com.pl

                      @mcc DigDeeper

                      sleet01@fosstodon.orgS This user is from outside of this forum
                      sleet01@fosstodon.orgS This user is from outside of this forum
                      sleet01@fosstodon.org
                      wrote last edited by
                      #13

                      @theZosia @mcc "DelveDeeper", surely? πŸ™‚

                      1 Reply Last reply
                      0
                      • elomatreb@chaos.socialE elomatreb@chaos.social

                        @mcc "sticky" πŸ€”

                        kboyd@phpc.socialK This user is from outside of this forum
                        kboyd@phpc.socialK This user is from outside of this forum
                        kboyd@phpc.social
                        wrote last edited by
                        #14

                        @elomatreb @mcc gotta be "stickyBottom"

                        1 Reply Last reply
                        0
                        • R relay@relay.mycrowd.ca shared this topic
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups