-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
fix(button): rtl fix for md ripple effect #11842
fix(button): rtl fix for md ripple effect #11842
Conversation
…l-fix-button-md-effect
src/components/button/button.md.scss
Outdated
@include position(0, null, null, 0); | ||
// scss-lint:disable PropertySpelling | ||
left: 0; | ||
top: 0; |
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.
First, know that this won't pass linting, as the properties are above an @include
Because of the new changes, this needs to be inside a @include multi-dir() {
which goes at the end of the selector. When that is done, it can be merged. (Didn't merge before as I knew there will be changes with multi-dir
)
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.
Oh I get it now thanks. Will do
@AmitMY is it alright now? |
src/components/button/button.md.scss
Outdated
|
||
@include multi-dir() { | ||
top: 0; | ||
|
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.
Can you remove this empty line + move //scss-lint:disable...
to the first row of the mixin? something like
@include multi-dir() {
// scss-lint:disable PropertySpelling
top: 0;
left: 0;
}
(because we don't won't to ignore it for the entire block)
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.
@AmitMY sure but css lint gave me error because I hadn't put empty line in between ... I think it was because I had order problems? I'll commit the new changes asap
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.
Oh sure, linter rules over me ;)
So just that disable comment if you can
@AmitMY With this commit I get this |
so final thing here, add an empty line there, and this seems good. Sorry for the messiness |
Looks great, thank you! |
Short description of what this resolves:
This will fix ripple effect on material design which were showing displaced of touch click.
Changes proposed in this pull request:
Ionic Version: 3.x
Fixes: #11211