InfomediaLtd / angular2-materialize

Angular 2 support for Materialize CSS framework.
https://infomedialtd.github.io/angular2-materialize/
MIT License
409 stars 142 forks source link

materialize="material_select" multiple collapses on item select #422

Open siarheiskalaban opened 6 years ago

siarheiskalaban commented 6 years ago

Actual behavior:

When select item in multiselect dropdown list it's redraws component and dropdown collapsed after it

Expected behavior

Same behavior as on materializecss.com. When select item in dropdown it's not collapsed.

Demo link:

https://infomedialtd.github.io/angular2-materialize/#/Forms

Note:

It's redraws multiselect because reference between old and new value changed. If on get/set return/set same array with modified content - component will not redraw and dropdown will not be collapsed