Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

EladBezalel
Copy link
Member

  • added bidi-property function to set a property by direction
  • fixed slider in rtl

@EladBezalel EladBezalel added i18n: bi-directional This issue is related to internationalization and right to left languages needs: review This PR is waiting on review from the team labels Mar 6, 2016
@@ -549,6 +555,10 @@ function SliderDirective($$rAF, $window, $mdAria, $mdUtil, $mdConstant, $mdThemi
var size = vertical ? sliderDimensions.height : sliderDimensions.width;
var calc = (position - offset) / size;

if (!vertical && $mdUtil.bidi() === 'rtl') {
Copy link
Member

Choose a reason for hiding this comment

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

Since when is $mdUtil.bidi() returning a value?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Oh, didn't saw that, thanks.

@ThomasBurleson
Copy link
Contributor

@EladBezalel this does not work properly!

screen shot 2016-03-09 at 1 49 32 pm

screen shot 2016-03-09 at 1 49 54 pm

@ThomasBurleson ThomasBurleson modified the milestone: 1.1.1 Apr 11, 2016
@ThomasBurleson
Copy link
Contributor

@EladBezalel - what is the status of this PR ?

@ThomasBurleson ThomasBurleson added in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs and removed needs: review This PR is waiting on review from the team labels Apr 19, 2016
@ThomasBurleson ThomasBurleson modified the milestones: 1.1.1, Backlog Apr 21, 2016
@ThomasBurleson
Copy link
Contributor

@EladBezalel - please rebase and confirm PR is valid.

@ThomasBurleson
Copy link
Contributor

@EladBezalel - ping

@EladBezalel
Copy link
Member Author

@ThomasBurleson working on it

@EladBezalel EladBezalel added needs: review This PR is waiting on review from the team and removed in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs labels Jun 7, 2016
@ThomasBurleson
Copy link
Contributor

@EladBezalel - status ping ?

- added bidi-property function to set a property by direction
- fixed slider in rtl
@EladBezalel
Copy link
Member Author

@ThomasBurleson this is ready IMO

@EladBezalel EladBezalel deleted the fix/slider-rtl branch June 12, 2016 19:09
@Splaktar Splaktar removed this from the - Backlog milestone Jun 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i18n: bi-directional This issue is related to internationalization and right to left languages needs: review This PR is waiting on review from the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants