Skip to content
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

Fixed left/right key input for Carousel in RTL Flow Direction #4518

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

Avid29
Copy link
Contributor

@Avid29 Avid29 commented Mar 22, 2022

Fixes #4517

Fixes the scroller direction of carousel items in RTL Flow Direction

PR Type

What kind of change does this PR introduce?

Bugfix

What is the current behavior?

In RTL flow direction right key/gamepad presses scroll the carousel in the inverted direction

What is the new behavior?

Flow Direction is checked before position increment or decrement on left/right key/gamepad presses.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • Contains NO breaking changes

Other information

@ghost
Copy link

ghost commented Mar 22, 2022

Thanks Avid29 for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌

@ghost ghost requested review from michael-hawker and azchohfi March 22, 2022 00:21
@ghost ghost added the bug 🐛 An unexpected issue that highlights incorrect behavior label Mar 22, 2022
Copy link
Contributor

@LalithaNadimpalli LalithaNadimpalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flow directions work fine now. We can merge the PR

@michael-hawker michael-hawker merged commit 7a9bf31 into CommunityToolkit:main Aug 9, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior hotfix 🌶
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Carousel scrollers wrong direction with key input in Right to Left flow direction
4 participants