Merge pull request #2714 from jryans/field-click-label
Send Field label pointer events to input
This commit is contained in:
commit
bd577e8f9b
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ limitations under the License.
|
||||||
top: 0px;
|
top: 0px;
|
||||||
margin: 7px 8px;
|
margin: 7px 8px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
pointer-events: none; // Allow clicks to fall through to the input
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Field input:focus + label,
|
.mx_Field input:focus + label,
|
||||||
|
@ -104,6 +105,7 @@ limitations under the License.
|
||||||
top: -13px;
|
top: -13px;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
background-color: $field-focused-label-bg-color;
|
background-color: $field-focused-label-bg-color;
|
||||||
|
pointer-events: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Field input:focus + label,
|
.mx_Field input:focus + label,
|
||||||
|
|
Loading…
Reference in a new issue