Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

fix(progress-bar): RTL (from PR 17157)#17382

Closed
abennouna wants to merge 34 commits intoionic-team:masterionic-team/ionic-framework:masterfrom
abennouna:fix-progress-bar-rtlabennouna/ionic:fix-progress-bar-rtlCopy head branch name to clipboard
Closed

fix(progress-bar): RTL (from PR 17157)#17382
abennouna wants to merge 34 commits intoionic-team:masterionic-team/ionic-framework:masterfrom
abennouna:fix-progress-bar-rtlabennouna/ionic:fix-progress-bar-rtlCopy head branch name to clipboard

Conversation

@abennouna
Copy link
Contributor

Short description of what this resolves:

Changes proposed in this pull request:

Ionic Version:

Fixes: #

abennouna and others added 28 commits December 14, 2018 15:43
chore(): update to latest master
Merge pull request #2 from ionic-team/master
@ionitron-bot ionitron-bot bot added the package: core @ionic/core package label Feb 5, 2019
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

We have a class .progress-bar-reversed that takes care of reversing animations, so we shouldn't need all this extra CSS.

I discussed with @manucorporat regarding the cleanest way to do this. We determined that there should be a change to this line here: https://github.com/ionic-team/ionic/blob/master/core/src/components/progress-bar/progress-bar.tsx#L67

You would want to change that line to 'progress-bar-reversed': document.dir === 'rtl' ? !this.reversed : this.reversed;. That would allow the progress-bar-reversed class to do the heavy lifting in terms of reversing animations.

@abennouna
Copy link
Contributor Author

Closed in favor of #17464

@abennouna abennouna closed this Mar 25, 2019
@abennouna abennouna deleted the fix-progress-bar-rtl branch March 25, 2019 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.