Case ce-0161-auto-scroll-performance · Scenario scenario-auto-scroll-on-typing

Auto-scroll causes performance issues during rapid typing

OS: Windows 11 Device: Desktop or Laptop Any Browser: Chrome 120.0 Keyboard: US Status: draft
scroll performance typing chrome

Phenomenon

When typing rapidly near the edges of a contenteditable element in Chrome, the frequent auto-scrolling causes performance issues. The page becomes laggy and typing feels unresponsive.

Reproduction example

  1. Create a contenteditable element with scrollable content
  2. Type text rapidly near the bottom edge
  3. Observe performance

Observed behavior

  • Page becomes laggy
  • Typing feels unresponsive
  • Scroll operations are expensive
  • Performance degrades significantly

Expected behavior

  • Scrolling should be smooth and performant
  • Typing should remain responsive
  • Performance should not degrade
  • Scroll should be optimized

Browser Comparison

  • Chrome/Edge: May have performance issues (this case)
  • Firefox: Similar performance problems
  • Safari: Performance varies

Notes and possible direction for workarounds

  • Throttle scroll operations
  • Use requestAnimationFrame for smooth scrolling
  • Debounce scroll calculations
  • Optimize scroll performance

Browser compatibility matrix

This matrix shows which browser and OS combinations have documented cases for this scenario. The current case is highlighted. Click on a cell to view other cases.

Current case
Confirmed
Draft
No case documented

All variants (detailed table)

Complete list of all cases for this scenario with full environment details.

Case OS Device Browser Keyboard Status
ce-0122-auto-scroll-jarring Windows 11 Desktop or Laptop Any Firefox 120.0 US draft
ce-0131-auto-scroll-lag-rapid-typing Windows 11 Desktop or Laptop Any Chrome 120.0 US draft
ce-0161-auto-scroll-performance Windows 11 Desktop or Laptop Any Chrome 120.0 US draft

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Chrome 120.0
Keyboard: US
Your environment
Sample HTML:
Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.

Comments & Discussion

Have questions, suggestions, or want to share your experience? Join the discussion below.