-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
8.5.20, 9.2.8, 10.1.1
-
None
-
Severity 3 - Minor
-
Issue Summary
In edit mode, clicking in the page's left margin causes the cursor and page to move esoterically
A user would expect the cursor to be set directly to the right of the click, however the page esoterically scrolls upward and the cursor set to an undesired point. When it happens, it is disorienting and frustrating for the user.
Demonstration:
Confluence versions tested and affected:
- v8.5.20
- v9.2.8
- v10.1.1-m01
Browsers used for testing:
- Google Chrome 141.0.7390.123
Steps to Reproduce
- Generate multiple paragraphs of text, enough to span double the current window size
- Scroll to the bottom of the page
- Click in the left margin
Expected Results
The cursor is set directly right of the click.
The page does not scroll
Actual Results
The cursor is set esoterically to a part of the page not visible
The pages scrolls to that point
Workaround
Add the following to Confluence Administration → Custom HTML → “at end of BODY”
<script> try { require('confluence/api/event').bind('rte-ready', () => { const iframe = document.getElementById('wysiwygTextarea_ifr'); const contentDoc = iframe?.contentDocument; if (contentDoc?.body?.style) { contentDoc.body.style.height = 'auto'; } if (contentDoc?.documentElement?.style) { contentDoc.documentElement.style.height = 'auto'; } }); } catch (e) { console.error('Editor height patching error', e); } </script>
- is related to
-
CONFSERVER-100547 While editing a large page (scrollable both bottom and right), cursor jumps to the top when clicking far to the right of the existing text at the bottom
-
- Closed
-
- relates to
-
CONFSERVER-100547 While editing a large page (scrollable both bottom and right), cursor jumps to the top when clicking far to the right of the existing text at the bottom
-
- Closed
-