Project

General

Profile

Actions

Bug #98619

closed

Not possible to click the new CE button if CE is current active target in URL

Added by Eric Harrer about 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2022-10-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
CSS, Backend
Complexity:
Is Regression:
Sprint Focus:

Description

If a content element is the current active target in the backend URL, the "New Content Element" button above this content element can not be clicked anymore.
This is because of a css style that uses a pseudoelement selector to create an invisible container above the button in file EXT:backend/Resources/Public/Css/backend.css:

:target::before {
  content: "";
  display: block;
  height: 80px;
  margin: -80px 0 0;
}

For example if the content element with id 6 has been edited and closed the backend URL looks like:
https://domain.tld/typo3/module/web/layout?id=1#element-tt_content-6

This causes the red area to be unclickable in the image shown below.


Files

screen.png (9.3 KB) screen.png Andreas Nedbal, 2022-11-29 17:26

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #98703: Cannot click "+ Content" button after dis-/enabling content elementClosed2022-10-22

Actions
Related to TYPO3 Core - Task #98471: Remove jQuery (UI) in Drag&Drop handling of page moduleClosed2022-09-29

Actions
Related to TYPO3 Core - Bug #103672: Again not possible to click the new CE button if CE is current active target in URLClosed2024-04-19

Actions
Actions #1

Updated by Andreas Nedbal almost 2 years ago

I wanted to check this out and verify this, but apparently this was fixed through another change, the CE button has a z-index and is above the offsetting before-element

Actions #2

Updated by Eric Harrer almost 2 years ago

  • Related to Bug #98703: Cannot click "+ Content" button after dis-/enabling content element added
Actions #3

Updated by Eric Harrer almost 2 years ago

  • Related to Task #98471: Remove jQuery (UI) in Drag&Drop handling of page module added
Actions #4

Updated by Eric Harrer almost 2 years ago

Yes you are right. This problem has been solved in the meantime by the following commit:
https://github.com/TYPO3/typo3/commit/fc4276c692270fa6822949a135bee780e0dfb302
This issue can now be closed.

Actions #5

Updated by Benni Mack almost 2 years ago

  • Target version changed from 12.1 to 12.2
Actions #6

Updated by Benni Mack almost 2 years ago

  • Target version changed from 12.2 to 12.3
Actions #7

Updated by Benni Mack over 1 year ago

  • Target version changed from 12.3 to 12 LTS
Actions #8

Updated by Benni Mack over 1 year ago

  • Status changed from New to Closed

closing this issue, thanks for the feedback

Actions #9

Updated by Luis Becker 7 months ago ยท Edited

This Bug was reintroduced by this patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/83429.

It is also present in the Version 13.1.0-dev

Should this be a new Issue or should this get reopened?

Actions #10

Updated by Eric Harrer 7 months ago

I can also reproduce this problem and the connection with the patch mentioned in TYPO3 v13.1.0-dev.

This is a new bug, as the button is now overlaid due to the omission of the CSS property overflow: hidden;.
see https://github.com/TYPO3/typo3/commit/0133a5e2f7b091b7cec2c5e5ab20ded9cb06b29a#diff-ff2407654ef60f64de7dbaa41d7b30c8b2d4ec0f29931096f929dad9ca2b150eL145

Previously, the button was overlaid due to a missing z-index declaration.
I would create a new issue for TYPO3 v13.1 accordingly and declare this issue as related.

Actions #11

Updated by Luis Becker 7 months ago

  • Related to Bug #103672: Again not possible to click the new CE button if CE is current active target in URL added
Actions

Also available in: Atom PDF