Project

General

Profile

Actions

Bug #85686

closed

svg-tree-wrapper fixed height

Added by Mike Street over 6 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-07-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The svg-tree-wrapper seems to have a fixed height of 400px, even though the height of the actual SVG inside is updated dynamically. It means on a mac (where scrollbars are hidden) it is not obvious you can scroll.

https://github.com/TYPO3/TYPO3.CMS/blob/d421f7dc2f4e6f5f5b57aed762859e92f59533f6/typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php#L167

Would suggest either removing the height attribute, or updating it along with the SVG.

The only related issue I can find is this one: https://forge.typo3.org/issues/77827


Files

landing.png (156 KB) landing.png this is what the page looks like upon landing Mike Street, 2018-07-30 17:15
scrolling.png (148 KB) scrolling.png this is what it looks like when starting to scroll (note the thin scroll bar on the right) Mike Street, 2018-07-30 17:15
Schermata 2022-09-17 alle 11.18.58.png (56.7 KB) Schermata 2022-09-17 alle 11.18.58.png Riccardo De Contardi, 2022-09-17 09:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #77827: TCA SVG tree container is getting too largeClosed2016-09-03

Actions
Actions #1

Updated by Tymoteusz Motylewski over 6 years ago

Hi
Thanks for the report. 2 questions:
- why are the scroll bars hidden?
- can you attach some screenshots?

Updated by Mike Street over 6 years ago

If you have an apple mouse or a trackpad connected to OSX, it hides the scrollbars until you start scrolling - this is an intended feature, however, if a box is not obviously scrollable the user can get confused.

Have attached 2 screenshots:

Landing - this is what the page looks like upon landing

Scrolling - this is what it looks like when starting to scroll (note the thin scroll bar on the right)

Actions #3

Updated by Riccardo De Contardi over 6 years ago

  • Category set to Backend User Interface
Actions #4

Updated by Benni Mack over 3 years ago

  • Related to Bug #77827: TCA SVG tree container is getting too large added
Actions #5

Updated by Benni Mack almost 3 years ago

  • Status changed from New to Needs Feedback

Hey Mike,

I guess this is now solved with TYPO3 v11, can you confirm this?

Actions #6

Updated by Riccardo De Contardi about 2 years ago

I confirm that this issue is solved on both 11.5.16 and the latest master (12.0.0-dev);

- I use MACOS X 11.6.8
- On both TYPO3 versions, the scroll for the category tree becomes automatically visible when there are too much items for it, it is not shown just when starting the scroll (see attached screenshot).

I therefore close this issue as solved.

If you think that this is the wrong decision or there is still work to be done, please reopen it or open a new issue with a reference to this one.

Thank you

Actions

Also available in: Atom PDF