You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a .ui.disabled.input with an input[disabled] child.
Expected
The input should have an opacity rule applied to appear disabled.
Result
The input has two opacity rules applied and is hardly visible. This is because the .ui.disabled.input wrapper receives opacity: 0.4 while the .ui.input input[disabled] child also receives opacity: 0.4. The result is an input element with an effective opacity of 0.16.
Steps to Reproduce
.ui.disabled.input
with aninput[disabled]
child.Expected
The
input
should have an opacity rule applied to appear disabled.Result
The
input
has two opacity rules applied and is hardly visible. This is because the.ui.disabled.input
wrapper receivesopacity: 0.4
while the.ui.input input[disabled]
child also receivesopacity: 0.4
. The result is an input element with an effective opacity of 0.16.Testcase
http://jsfiddle.net/ebecpcLp/2/
Fix
The
input
element should only have opacity applied if the wrapper is not already also disabled:input.less
The text was updated successfully, but these errors were encountered: