You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problems with mouse clicking/selecting on Visual Editor in Chrome 127.0.6533.120 #15068
RStudio Edition : Server/Server-Pro
RStudio Version : Any version I've tried (including 2023.12.1, 2024.04.2, latest builds of 2024.08 and dev build of `main`)
OS Version : Windows-11, macOS
R Version : any
Steps to reproduce the problem
using Chrome 127.0.6533.120 (the latest at the time of writing this)
create an RMarkdown or Quarto document and switch into visual mode
try clicking on text that isn't part of a code block to place the editor caret at that location
Describe the problem in detail
if you click near end of document it jumps to the start
in any case the caret is NOT moved to where you clicked (it does work inside a code block)
trying to select text is also not working
Describe the behavior you expected
clicking places the caret
no jumping back to beginning
Note this appears to be very specific to this version of Chrome (127.0.6533.120). Happens in incognito mode as well.
Working fine with Safari (macOS), Firefox, Chromium v126, Edge on Windows (127.0.2651.105), and Chrome beta 128.0.6613.36.
Note: if you strip out the preamble and any code chunks from a .rmd or .qmd, leaving, essentially markdown, then the mouse selection starts working, so it's not a fundamental problem in Prosemirror.
changed the title [-]Problems with clicking on Visual Editor in Chrome 127.0.6533.120[/-][+]Problems with mouse clicking/selecting on Visual Editor in Chrome 127.0.6533.120[/+]on Aug 22, 2024
Activity
gtritchie commentedon Aug 21, 2024
Chrome updated to 128.0.6613.85, and the problem is still happening (only tried on macOS so far).
gtritchie commentedon Aug 21, 2024
https://issues.chromium.org/issues/359834213?pli=1
gtritchie commentedon Aug 22, 2024
Note: if you strip out the preamble and any code chunks from a .rmd or .qmd, leaving, essentially markdown, then the mouse selection starts working, so it's not a fundamental problem in Prosemirror.
[-]Problems with clicking on Visual Editor in Chrome 127.0.6533.120[/-][+]Problems with mouse clicking/selecting on Visual Editor in Chrome 127.0.6533.120[/+]gtritchie commentedon Aug 22, 2024
A workaround is to turn off the "Always show focus outlines" option in Tools / Global Options / Accessibility:
gtritchie commentedon Aug 23, 2024
This started working again and can no longer reproduce it (currently using Chrome 128.0.6613.85 which was failing 100% of the time yesterday).
kevinushey commentedon Aug 26, 2024
Everything appears fine on my end as well. Chrome Version 128.0.6613.85 (Official Build) (arm64)
ronblum commentedon Aug 27, 2024
Verified also on posit.cloud and Posit Workbench 2024.08.0+351.pro61, both with Chrome version 128.0.6613.85 on Windows 11.
gtritchie commentedon Sep 9, 2024
Hearing reports that this is still happening for some, so reopening.
ronblum commentedon Sep 13, 2024
The previous reports have subsided thanks to browser updates.