-
Notifications
You must be signed in to change notification settings - Fork 13.4k
fix(segment-view): scroll and select the right item when the component is in RTL context; #30675
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- lint.fix; - reconfig the basic-tests to look into rlt too;
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 a solid start, but I have some requested changes so that we can remain consistent in how we detect RTL and a bit of improved browser support.
core/src/components/segment-view/test/basic/segment-view.e2e.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Shane <[email protected]>
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 to me, great work!
Issue number: resolves #30079
What is the current behavior?
Segments (IonSegment and IonSegmentView) do not work if placed on a dir="rtl" context. If click on button, it won't slide content of the next segment.
What is the new behavior?
Does this introduce a breaking change?
Other information
Preview