Closed fritzmg closed 2 years ago
If I remove the snippet: display="false"
the Go to top icon is alwas displayed at the page bottom.
vendor\magento\framework\View\Layout\etc\elements.xsd
Line 218:
+ <xs:attribute type="xs:string" name="display" use="optional" />
If I remove the snippet:
display="false"
the Go to top icon is alwas displayed at the page bottom.
True. And it seems to be without any styles in the current version of the theme.
vendor\magento\framework\View\Layout\etc\elements.xsd
Line 218:
+ <xs:attribute type="xs:string" name="display" use="optional" />
Well that can hardly be the solution? Adjusting the Magento core files?
Well that can hardly be the solution? Adjusting the Magento core files?
Look here, same thing:
https://github.com/magesuite/theme-creativeshop/issues/2
https://github.com/magento/magento2/commit/f8d88d65a716854be69c1f155884a30e89cba160
Still not working in Magento 2.4.3 ...
vs:
Yeah, that was a bug which is now fixed in Magento. But the display
attribute seems to be intended to not be used on regular <block>
elements. Only on <referenceBlock>
or <referenceContainer>
. If you think this is not intended, then an issue needs to be raised in the Magento repository.
With tag v15.1.8 we remove the unnecessary page.scroll blocks. This component is now optional.
To display scroll to top component please add
Thank you for reporting this issue.
Currently the following error occurs (in
developer
mode) in Magento2.4.3
:The
display
attribute is not allowed on the<block>
element in layout files. It is only allowed for<referenceContainer>
or<referenceBlock>
.I am not sure what the original purpose of
display="false"
for this particular block was though.