-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Progress][RadioGroup][Tabs] Unify text direction (LTR/RTL) handling #885
Conversation
Netlify deploy preview |
d0ddf3a
to
7f46330
Compare
@@ -94,6 +92,7 @@ const TabsList = React.forwardRef(function TabsList( | |||
highlightedIndex={highlightedTabIndex} | |||
enableHomeAndEndKeys | |||
loop={loop} | |||
orientation={orientation} |
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.
Forgot this in #751
For Tabs
, the cross-orientation arrow key should be ignored (and scroll the page if applicable)
ac53f82
to
3adec4e
Compare
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.
Looks good! I'm approving assuming you resolve the comments.
Uploading files | ||
</span> | ||
<Progress.Track className={classes.track}> | ||
<Progress.Indicator className={classes.indicator} /> |
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 demo looks broken on CodeSandbox (the progress bar is invisible). Could you please check?
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.
Looks like the CSS color vars I was using from various theme.css
got lost because theme.css
isn't linked correctly by the index.html
in the sandbox
I'll put fallback values for the stylesheet touched in this PR: bdee765#diff-2e7b61a5d5509e7a87e5c596b9db8313ed2ea6d2c1b5decf0c161a49e776e6cd
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.
#894 FYI @michaldudak
986b44f
to
19f646c
Compare
Part of #831
Tabs
/RadioGroup
automatically workProgress.Indicator
's build-in styles changed from usingleft: 0
/right: 0
toinset-inline-start: 0
, there should be no browser support issue (reference)I have followed (at least) the PR section of the contributing guide.