Skip to content

BUG: Select box error when outlined is true #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kiddieverts opened this issue Sep 30, 2018 · 1 comment
Closed

BUG: Select box error when outlined is true #663

kiddieverts opened this issue Sep 30, 2018 · 1 comment
Labels

Comments

@kiddieverts
Copy link

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 gjdev added the bug label Oct 2, 2018
@gjdev
Copy link
Member

gjdev commented Oct 2, 2018

Thanks for reporting this. Looks like a bug indeed.

@gjdev gjdev closed this as completed in 52041a9 Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants