Skip to content
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

Cannot read property 'getComputedStyle' of null #45

Open
dertin opened this issue May 8, 2019 · 0 comments
Open

Cannot read property 'getComputedStyle' of null #45

dertin opened this issue May 8, 2019 · 0 comments

Comments

@dertin
Copy link

dertin commented May 8, 2019

When I hide the DIV that contains (better-dateinput-polyfill) and later when I show it and click on the input [type=date] polyfill causes the following error.

Uncaught TypeError: Cannot read property 'getComputedStyle' of null
    at t (layout-default.js.pagespeed.jm.dRwxlhTSIt.js:10)
    at a.hide (layout-default.js.pagespeed.jm.dRwxlhTSIt.js:10)
    at a.invalidateState (layout-default.js.pagespeed.jm.dRwxlhTSIt.js:17)
    at a._focusInput (layout-default.js.pagespeed.jm.dRwxlhTSIt.js:17)
    at m.handleEvent (layout-default.js.pagespeed.jm.dRwxlhTSIt.js:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant