diff --git a/src/demo-app/select/select-demo.html b/src/demo-app/select/select-demo.html index 9e5c8dc3e122..e48fdc5388bc 100644 --- a/src/demo-app/select/select-demo.html +++ b/src/demo-app/select/select-demo.html @@ -1,16 +1,20 @@
This div is for testing scrolled selects.
+
- - - {{ food.viewValue }} - -

Value: {{ foodControl.value }}

-

Touched: {{ foodControl.touched }}

-

Dirty: {{ foodControl.dirty }}

-

Status: {{ foodControl.status }}

- - -
+
+ + + {{ food.viewValue }} + +

Value: {{ foodControl.value }}

+

Touched: {{ foodControl.touched }}

+

Dirty: {{ foodControl.dirty }}

+

Status: {{ foodControl.status }}

+ + +
+
+ *', [ style({ opacity: 0, - width: '100%', + minWidth: '100%', transform: `translate3d(0, 0, 0) scaleY(0)` }), animate(`150ms cubic-bezier(0.25, 0.8, 0.25, 1)`) diff --git a/src/lib/select/select.html b/src/lib/select/select.html index ec58a012f5d3..46f595c14e51 100644 --- a/src/lib/select/select.html +++ b/src/lib/select/select.html @@ -1,12 +1,12 @@
{{ placeholder }} + [@transformPlaceholder]="_placeholderState" [style.width.px]="_selectedValueWidth"> {{ placeholder }} {{ selected?.viewValue }}