Hi @Hong Ling TAN (NP) What you're experiencing sounds like a rendering issue with the Monaco editor in Databricks notebooks, particularly tied to how the browser handles fonts, scaling, or GPU acceleration.
A few advanced troubleshooting steps that often resolve cursor misalignment issues:
- Browser Zoom and Display Scaling: Ensure your browser zoom is exactly 100% and check your OS-level display settings. On Windows, high DPI scaling (e.g., 125% or 150%) can cause cursor offset issues in web-based editors.
- Disable Hardware Acceleration: In Chrome or Edge, go to:
Settings > System > Use hardware acceleration when available
→ Turn this off, then restart the browser. - Test with Extensions Disabled: Try opening the notebook in Incognito/Private mode. Some extensions (e.g., password managers, grammar checkers) can interfere with the notebook UI.
- Fonts or Custom Themes: Avoid custom font rendering tools or browser themes. These can subtly shift text positioning and affect cursor alignment.
Since it works fine in Safari, it’s likely something browser-specific rather than an actual issue with Databricks itself.
Hope this helps. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.