Skip to content

feat(rtl): add transform and transform-origin support for rtl - #11649

Merged
brandyscarney merged 19 commits into
ionic-team:masterfrom
AmitMY:transform-rtl
Jun 8, 2017
Merged

brandyscarney merged 19 commits into
ionic-team:masterfrom
AmitMY:transform-rtl

Conversation

@AmitMY

@AmitMY AmitMY commented May 13, 2017 •

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

bad support on rtl for transform and transform origin

Changes proposed in this pull request:

  • add mixins to control transform and transform origin

Preview: http://ionic-snapshot-go.appspot.com/ionic2/snapshots/hhp/x9v/chrome_400x800

Ionic Version: 3.x

@AmitMY

AmitMY commented May 13, 2017

Copy link
Copy Markdown
Contributor Author

@brandyscarney Please label as rtl

@Khalid-Nowaf

Copy link
Copy Markdown

Hi @AmitMY, I just would like to ask if this PR related to animations when the DOM is RTL, because I noticed some wired movments in real device when the keyboard slides up and moves an INPUT and a Labels DOM, the lable blink "not visible for while" while the input cursor moves in wired way . Thanks

@AmitMY

AmitMY commented May 21, 2017

Copy link
Copy Markdown
Contributor Author

@Khalid-Nowaf It relates to a very limited amount of animations. More animations are controlled from TS, and I did not address those here.

I am not sure about what you are seeing, but if you create an issue with a video and/or a reproduction repo, We could have a look

@Khalid-Nowaf

Copy link
Copy Markdown

@AmitMY, I just create an Issue #11745, and there is a video and reproduction repo.

@brandyscarney

Copy link
Copy Markdown
Member

Refactored the transform mixin so that it can be used like:

@include transform(translate3d(5px, 0, 0), scale(0.5), rotate(5deg));

on this commit: dab832b

@brandyscarney
brandyscarney merged commit 2273fb5 into ionic-team:master Jun 8, 2017
@brandyscarney

Copy link
Copy Markdown
Member

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants