b13 / container

A TYPO3 Extension for creating custom nested content elements
GNU General Public License v2.0
168 stars 62 forks source link

Positioning of CEs broken while drag-n-drop is active #490

Open rr-it opened 6 months ago

rr-it commented 6 months ago

CEs from inside a container element are wrongly positioned while drag-n-drop is active.

In this example you can still see the dragged CE. If the CE is further down the page you can't see it at all. container-ce-dragndrop

rr-it commented 6 months ago

Related TYPO3 core issue: https://forge.typo3.org/issues/103536

rr-it commented 6 months ago

PR https://review.typo3.org/c/Packages/TYPO3.CMS/+/83650

dbruening commented 2 months ago

Unfortunately, the approach in the core issue does not solve the problem. position: relative; is necessary because the top, left, right values are set using JavaScript. I suggest an incorrect value calculation of the top value for the elements within the container.

rr-it commented 2 months ago

For TYPO3 v12 there won't be any fix in core - even though v12 is still in "Regular Maintenance" ( https://typo3.org/cms/roadmap#section-support-times ). So we should implement a fix in b13/container especially for TYPO3 v12. See https://review.typo3.org/c/Packages/TYPO3.CMS/+/83650/comments/9c008db0_c0de45e8

For TYPO3 v13 core merger doesn't see an actual bug here and only merges a change as 'feature' or 'task'. See https://review.typo3.org/c/Packages/TYPO3.CMS/+/83650/comments/42950ee1_7e0fccff

If the core needs "fixing" we might want to get any change into TYPO3 v13 before it gets released:

simonschaufi commented 3 days ago

so can this be fixed in the extension or must this be fixed in the core?