wouterj,
@wouterj@phpc.social avatar
wouterj,
@wouterj@phpc.social avatar

✅ Add scrolling behavior for long selects lists

video/mp4

thepanz,
@thepanz@phpc.social avatar

@wouterj cool work! I recently started implementing an "autocomplete/autosuggestion" helper for the SF console, backed up by , and would like to know how you implemented the "right scrollbar" :)

Is there a public repo for your example?
Or are there any other SF console helpers that you know?
Anyeay: thank you again for your great work on SF!

wouterj,
@wouterj@phpc.social avatar

@thepanz this is a PR I'm preparing for Symfony. The scrollbar code is incredibly badly written at the moment. Once it's cleared up and the last bugs are fixed, I'll open a PR.

The list itself is a decoupled class, which you should be able to use for your use-case as well (actually, I was planning on improving Symfony's autocomplete question feature using this class as well in a future PR).

graphite,

@wouterj nice!

add "graphite" as a colour :p

wouterj,
@wouterj@phpc.social avatar

@graphite thanks!

The colors are from a list of HTML colors supported by browsers. Unfortunately, graphite is not yet one of them

jaapio,
@jaapio@phpc.social avatar

@wouterj very nice!

yivi,
@yivi@phpc.social avatar

@wouterj Nice! 🔥

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Symfony
  • kavyap
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • rosin
  • everett
  • Leos
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • megavids
  • JUstTest
  • All magazines