v4.3.6

d2lang/d2v4.3.6Feb 13, 2026by juliangarnier

AI Summary

This release addresses a bug in the Auto Layout feature where synchronization with `onScroll` was not functioning correctly.

Key Highlights

  • Fixed Auto Layout sync with onScroll to allow proper layout animation control.
  • Enabled controlling layout animations like autoplay using `onScroll` with `sync: true`.

Full Release Notes

## Bug Fixes
- **Auto Layout**
  - Fix auto layout not properly synced with onScroll, allowing controlling layout animations like this:
```js
layout.animate({
  autoplay: onScroll({
    sync: true,
  })
});
```