Adding clear button (Section Input with a clear button) to my autocomplete component results in strange behaviour: hitting enter clears input either it's selected option or not.
To illustrate my issue, I modified stackblitz from originial angular material doc about autocomplete - added clear button behaviour. See this
I cannot figure out why this clear button works correctly in case of simple input, but breaks everything in case of autocomplete component, why it's being focused instead of input and 'click' handler is being called.
Any tips will be appreciated. Thanks in advance!