Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay 7.4.43 and editing responsive pages js errors
I´ve noticed that im unable to edit "responsive" pages ie mobile and tablet sizes of a page in the page editor of liferay 7.4.43. This is a recent clean install with the normal liferay themes and a custom themes. In 2/3 Liferay themes when i switch to, for example, editing the mobil viewport there are errors. The same happens with the custom theme. The only theme that doesnt cause this error is the "Dialect" theme bundled with Liferay.
The errors are show in the browser like
ErrorAn unexpected error occurred while rendering this item
In the browser console i get the errors in resizeColumns.js
Uncaught TypeError: Cannot read properties of null (reading 'scrollTop')
at ?browserId=chrome&minifierType=js&languageId=sv_SE&t=1663793395410&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/common/components/Button.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/thunks/addFragmentComposition.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/SaveFragmentCompositionModal.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/topper/TopperItemActions.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/topper/TopperLabel.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/topper/Topper.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/layout-data-items/getAllPortals.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/layout-data-items/isHovered.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/layout-data-items/FragmentWithControls.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/topper/TopperEmpty.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/layout-data-items/CollectionItemWithControls.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/layout-data-items/CollectionWithControls.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/contexts/ResizeContext.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/components/layout-data-items/Column.js&/o/js/resolved-module/@liferay/layout-content-page-editor-web@3.0.120/page_editor/app/thunks/resizeColumns.js:9:858
at pv (react-dom.development.js:22030:1)
at hv (react-dom.development.js:22064:1)
at HTMLUnknownElement.m (react-dom.development.js:336:1)
at Object.y (react-dom.development.js:385:1)
at E (react-dom.development.js:440:1)
at Qy (react-dom.development.js:25392:1)
at t.unstable_runWithPriority (scheduler.development.js:697:1)
at ff (react-dom.development.js:12149:1)
at Yy (react-dom.development.js:25361:1)
react-dom.development.js:21843 The above error occurred in one of your React components:
in Unknown (created by x)
in div (created by x)
in x
in Unknown (created by FragmentWithControls)
in FragmentWithControls (created by v)
in v (created by I)
in I (created by v)
in div (created by Root)
in Unknown (created by Root)
in Root (created by v)
in v (created by I)
in I
in div
in Unknown
in div (created by ForwardRef)
in ForwardRef
in Unknown
in div
in div
in Unknown
in Unknown
in i
in Unknown
in Unknown
in Unknown
in Unknown
in E (created by h)
in P (created by h)
in h
in a
in Unknown
in Unknown
in Unknown
in UnknownReact will try to recreate this component tree from scratch using the error boundary you provided, I.
So i guess there is something missing that is present in the Dialect theme.
Has anybody noticed the same error? Any help to would be appreciated even a little info of what its trying to read?
Powered by Liferay™