src-zone/material

BUG: Select box error when outlined is true

kiddieverts opened this issue · 1 comments

When using the select box and outlined is true this error comes to the console when I click the select box.

I was using the official Stackblitz Select example when I discovered this.

ERROR TypeError: Cannot read property 'classList' of null
at EmulatedEncapsulationDomRenderer2.DefaultDomRenderer2.removeClass (dom_renderer.ts:181)
at DebugRenderer2.removeClass (services.ts:795)
at Object.removeClass (mdc.select.directive.ts:108)
at MDCLineRippleFoundation.activate (foundation.js:87)
at Object.activateBottomLine (mdc.select.directive.ts:127)
at MDCSelectFoundation.handleFocus_ (foundation.js:123)
at HTMLSelectElement.MDCSelectFoundation.this.focusHandler (foundation.js:34)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (ng_zone.ts:262)
at ZoneDelegate.invokeTask (zone.js:420)

gjdev commented

Thanks for reporting this. Looks like a bug indeed.