Bug #44886
closedAnchor Link in Workspace Preview doesn't work in Firefox
0%
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.
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
Updated by Oliver Hader over 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:
- https://bugzilla.mozilla.org/show_bug.cgi?id=667859#c5
- https://bugzilla.mozilla.org/show_bug.cgi?id=638598
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... ;)
Updated by Oliver Hader about 9 years ago
- Target version changed from 7.5 to 7 LTS
- Complexity set to hard
Updated by Riccardo De Contardi about 7 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.
Updated by Riccardo De Contardi almost 7 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.