-
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
Disabled input fix #9676
Disabled input fix #9676
Conversation
@@ -23,6 +23,10 @@ ion-textarea { | |||
width: 100%; | |||
} | |||
|
|||
ion-input[disabled] .input-cover { |
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 move the rule so it is with the other rule related to input cover: https://github.com/driftyco/ionic/blob/master/src/components/input/input.scss#L77-L94
you could add it after that rule and add a sentence in the description saying the input cover shouldn't be clickable when the input is disabled.
Otherwise it looks good, just make sure there is one line break between selectors and two before a header. :)
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.
Below commit takes care of this, thanks for reviewing (:
👍 |
🎉 |
Why add disabled is invalid for input? |
Why add disabled is invalid for ion- input? |
Short description of what this resolves:
Stops disabled inputs from acting like they have been focused
Changes proposed in this pull request:
.input-cover
from being focusedIonic Version: 2
Fixes: #9070