Shoelace: Tab group unclear how to scroll to tabs outside of the currently positioned view

Created on 3 Aug 2020  Â·  4Comments  Â·  Source: shoelace-style/shoelace

Describe the bug

https://shoelace.style/components/tab-group?id=scrolling-tabs has tabs 1-20, but it's not possible to access all of these easily with a mouse. It took me a while to figure out I can use the horizontal scroll on my mouse, and a lot of mice don't offer this functionality.

Also, if the tabs happen to position themselves perfectly in the view, such that you can't tell there's extra tabs, it's not clear that there are more tabs to select from.

This is with the default CSS provided by Shoelace; we can override this, of course.

Expected behavior

  • Provide an indication that the tabs can be scrolled.
  • Allow scrolling using a mouse if using horizontal tabs
bug

Most helpful comment

Fixed in 99747711850af3d8b561b99a3f31a1f916d8c205.

CleanShot 2020-08-03 at 07 44 37

All 4 comments

Fixed in 99747711850af3d8b561b99a3f31a1f916d8c205.

CleanShot 2020-08-03 at 07 44 37

Should I be able to get this fix with:

    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/dist/shoelace/shoelace.css"
    />
    <script
      type="module"
      src="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/dist/shoelace/shoelace.esm.js"
    ></script>

It's in next and will be in beta 10 once that's released — probably sometime this week.

Heads up! 2.0.0-beta.10 has been released.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcjazzyfunky picture mcjazzyfunky  Â·  7Comments

igorvanoostveen picture igorvanoostveen  Â·  4Comments

crutchcorn picture crutchcorn  Â·  7Comments

Xyz3R picture Xyz3R  Â·  7Comments

NullVoxPopuli picture NullVoxPopuli  Â·  6Comments