-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DSD-1337: Update Tabs mobile view #1539
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fantastic and works so much better than my previous implementation. Thanks for this update!
Approving but check with Clare for accessibility, just want to make sure that the "scroll" text in the prev/next buttons is appropriate since this is more of focusing/moving to the next tab.
@@ -13,8 +13,6 @@ import React, { forwardRef, useState } from "react"; | |||
|
|||
import Button from "../Button/Button"; | |||
import Icon from "../Icons/Icon"; | |||
import useCarouselStyles from "../../hooks/useCarouselStyles"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update src/hooks/useCarouselStyles.mdx
and remove the references to the Tabs
component and the code snippet?
This was the only component using this so I think we can do without this hook, but that can be an update for the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To echo what Edwin said, this looks and works great!
Fixes JIRA ticket DSD-1337
This PR does the following:
How has this been tested?
Accessibility concerns or updates
Checklist:
Front End Review: