BrightspaceUI / core

A collection of accessible, free, open-source web components for building Brightspace applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

d2l-tabs: Scrolling enhancements

TristanDevos opened this issue · comments

  1. It would be nice if the tabs component would automatically scroll to take advantage of the full width its given when the screen resizes.

Daylight:

chrome_45BfvC16TQ

Consistent-Evaluation (using the Primary-Secondary template)

chrome_dXg9r4egBB

  1. Might be nice and intuitive to allow swiping across tabs on mobile instead of only having the left and right arrow buttons.

Example use case in Consistent-Evaluation

chrome_I5NECYyv2k

Yeah these are great suggestions. If these are improvements that are required for your tool, my recommendation is to reach out in #wc-tabs in Slack and we can loop in Nathan and Asja to prioritize.

I know the swipe functionality was discussed when this was originally built. To some extent it didn't fall into scope, but also, it was not going to be able to mimics browsers normal behaviour for swipe/flicking/acceleration (due to the virtual scroll implementation), at least not without a heavy lift.

If these are improvements that are required for your tool, my recommendation is to reach out in #wc-tabs in Slack and we can loop in Nathan and Asja to prioritize.

Thanks Dave. These aren't required for CE currently, they're more 'nice to haves'. No need to prioritize