Bug #22167
closedAutomatic scrolling of editing form when inserting paragraph
100%
Description
Entering a new paragraph leads to automatic scrolling of the editing form in the backend if the cursor is positioned in the last line of the visible editing area of the RTE and the editing form exceeds the browser window (i.e., it has a vertical scrollbar). The top of the RTE editing area is positioned at the top of the form, making the RTE button bars above it invisible. Also, the text inside the editing area is repositioned so the new paragraph is in the first line.
Steps to reproduce:
1. Make sure you have an editing form that is large enough, e.g., disable the use of tabs for tt_news or resize the browser window accordingly.
2. Create a new record. If you disabled tabs for tt_news, create a news record.
3. Insert a longer text in the RTE.
4. Scroll the RTE content so that there is some text left below the last visible line of the editing area.
5. Position the cursor in the last visible line of the text.
6. Press Enter.
The problem occurs with Firefox 3.5.8 and Opera 10.10 on Linux, but NOT with IE8. Other browsers have not been tested.
This effect is very confusing for the editors and you have to manually scroll the form to use the RTE buttons again.
(issue imported from #M13631)
Files
Updated by Stanislas Rolland over 14 years ago
Please try the attached patch. Let me know if this is better. Not sure why this scrolling was there...
Updated by Christian Hennecke over 14 years ago
Sorry, the new behavior is also problematic since you can't see the cursor any more after pressing Enter. The content of the editing area should be scrolled so the cursor is visible, but not the form as a whole.
Updated by Stanislas Rolland about 13 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
- Target version deleted (
0) - TYPO3 Version set to 4.4
Updated by Alexander Opitz almost 10 years ago
- Status changed from Accepted to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.7)?
Updated by Christophe Monard over 9 years ago
Alexander Opitz wrote:
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.7)?
Hi,
Yes the issue still exist (http://forum.typo3-fr.org/topic/22784-rte-et-saut-de-page-vers-le-bas/)
See the screencast for the effect : http://screencast.com/t/OShgClIEv8wp
Thorfin
Updated by Christophe Monard over 9 years ago
I prepare a small simple dummy extension that create a table including some fields and 2 RTE in the middle and near the bottom.
If you start writing in and do a lot of text and a lot of return (you should write enough text to make the RTE starting to scroll and display the scroll bar), the screen should start to go crazy and scroll most of the time to the bottom of the entire page (the edit iframe).
The bug cannot be reproduce in IE, but appear on Chrome, FF, Safari as well. (didn't try in Opera)
I'll try to make another video more detailled in the futur.
Thorfin
Updated by Gerrit Code Review over 9 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37894
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37895
Updated by Stanislas Rolland over 9 years ago
- Target version set to next-patchlevel
Please test the proposed change on TYPO3 6.2 or master.
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37894
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37894
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37895
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37895
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37895
Updated by Stanislas Rolland over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d03c59b72471f2b469d86a73fead1df80b9a534b.