SwedbankPay/design.swedbankpay.com

Active tabs

Closed this issue · 3 comments

Currently it is up to clients to decide when a tab should be active. Should the Design Guide script handle this instead?

Interesting question, @VikingTristan, the current solution gives clients more control over their own tabs and the Design Guide merely gives guidance through styling.

Agree with @VikingTristan, current solution gives the client more control over the tabs. However, giving this control over to the Design Guide script might give a more complete solution, as "it just works" out of the box. Depends on what Design Guide should be aiming for, delivering design focused solutions or a more complete solution with component behavior etc...

Active state on tabs is now handled by the script.