Project

General

Profile

Actions

Bug #44886

closed

Anchor Link in Workspace Preview doesn't work in Firefox

Added by Uwe Trotzek about 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2013-01-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

Steps to reproduce:

- create a new page in a draft mode
- create a new content element
- create another content element (text for example) with an anchor link on the first content element
- open the workspace preview in slider mode
- try to click on the anchor link (nothing happens)

This is a firefox only bug. In Chrome it works as expected.
If you select the vertical or the horizontal mode it works also. I don't know whats the problem. I get no error.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45519: Workspace Preview Link Generator problemClosed2013-02-15

Actions
Actions #1

Updated by Michael Stucki over 10 years ago

  • Category set to Workspaces
Actions #2

Updated by Michael Stucki over 10 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #3

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.5
Actions #4

Updated by Oliver Hader about 9 years ago

  • Status changed from New to Accepted
  • Priority changed from Should have to Could have
  • Is Regression set to No

This is really a Firefox only problem, see:

There is a work-around using JavaScript that determines the position of an accordant anchor and scrolls on that if the event is triggered, see:
http://matthewmanela.com/blog/making-linking-between-anchors-in-an-iframe-work-in-firefox-11-and-above/

Thus, there would be a possibility to add a global JavaScript listener on all anchors using section marks, prevent the default handling and use the JavaScript scrollTo instead. Anyway... that feels hacky... ;)

Actions #5

Updated by Oliver Hader over 8 years ago

  • Target version changed from 7.5 to 7 LTS
  • Complexity set to hard
Actions #6

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions #7

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Accepted to Needs Feedback

I tried to reproduce it with the latest firefox on Mac with the following setup:

1) TYPO3 9.0.0-dev (latest master)
2) Go to custom workspace
2.1) Go to a page, create an element "Header" with header "TEST TEST TEST"
2.2) on the same page, create a text element "TEST"
2.3) on the text area, write some text and add a link to the previous element; the final code (source code) is:

<p><a href="t3://page?uid=298#643">link to test test test</a></p>

2.4) add a lot of text below and save
3) Preview workspace in "slider mode"
4) click on the link

Result: the page scrolls down to "TEST TEST TEST" so it seems to work...

Do you think this is sufficient to consider it closed, or should I perform a different test? Thank you.

Actions #8

Updated by Riccardo De Contardi about 6 years ago

  • Status changed from Needs Feedback to Closed

No feedback since the last 90 days => closing this issue.

If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one. Thank you.

Actions

Also available in: Atom PDF