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

[4.0] js error with admin template preview #29120

Closed
brianteeman opened this issue May 16, 2020 · 1 comment
Closed

[4.0] js error with admin template preview #29120

brianteeman opened this issue May 16, 2020 · 1 comment

Comments

@brianteeman
Copy link
Contributor

Steps to reproduce the issue

Make sure that the Preview Module Positions is set to enabled
Click on the eye to open the preview

Expected result

Admin template opens in a new window with all the positions outlined etc and no errors

Actual result

javascript error in the console


admin-cpanel-default.js?16f20334e6c7311d184d278cc57500f8:61 Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
    at Object.resizeGridItem (admin-cpanel-default.js?16f20334e6c7311d184d278cc57500f8:61)
    at admin-cpanel-default.js?16f20334e6c7311d184d278cc57500f8:72
    at Array.forEach (<anonymous>)
    at Object.resizeAllGridItems (admin-cpanel-default.js?16f20334e6c7311d184d278cc57500f8:71)
    at initialise (admin-cpanel-default.js?16f20334e6c7311d184d278cc57500f8:77)
@infograf768
Copy link
Member

Closing as we have a patch. See #29124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants