github ancsemi/Haven v2.7.2

latest releases: v4.30.0-beta.1, v4.29.0, v4.29.0-beta.5...
8 months ago

Fixed

  • Scroll-to-bottom cut off on new root messages — root messages have \content-visibility: auto\ applied for performance, which causes the browser to estimate their off-screen height at 64 px instead of the real ~80–120 px. _scrollToBottom\ was reading \scrollHeight\ with the underestimate and landing short. Newly appended root messages are now forced to \content-visibility: visible\ before the scroll so the real height is used immediately.
  • Channel / DM switch landing at wrong scroll position — switching channels rendered up to 100 messages with \content-visibility\ height estimates, then fired a single
    equestAnimationFrame\ correction that was too early. \scrollHeight\ kept shifting as estimates resolved across subsequent frames. The last 15 messages in the rendered batch are now forced visible before the initial scroll, and _scrollToBottom\ loops up to 8 animation frames until \scrollHeight\ stabilises.

Don't miss a new Haven release

NewReleases is sending notifications on new releases.