Skip to content

Commit

Permalink
fix(form): remove unnecessary property '-webkit-appearance: none' wit…
Browse files Browse the repository at this point in the history
…h :focus from error field

The property `-webkit-appearance: none` causes the select element unstable on focus and unfocus
events. Removing native appearance from select on focus reduces the space between the border
and it's content which causes unexpected bouncing.

This property doesn't give any extra effect to all fields for focus event, but making select
element inconsistency alone. So, better to remove this property to make the select element stable
along with the other fields when it's focused or unfocused.

Closes #576
  • Loading branch information
ko2in authored and Sean committed Apr 11, 2019
1 parent 1981277 commit 63cbf2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/definitions/collections/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@
border-color: @inputErrorFocusBorder;
color: @inputErrorFocusColor;

-webkit-appearance: none;
box-shadow: @inputErrorFocusBoxShadow;
}

Expand Down

0 comments on commit 63cbf2d

Please sign in to comment.