Minor Changes
- #3520
4a2c1bbThanks
@segunadebayo! - - Add amultipleprop. Set it tofalseto keep only the
topmost visible heading active.- Activate the clicked item right away and keep it active while the page scrolls to it.
- Activate the section the reader is in when its heading has scrolled out of view, instead of keeping a stale item.
- Fix
autoScrollinterrupting the smooth scroll to a heading when the TOC sits inside the content's scroll
container.
Patch Changes
- Updated dependencies [
94fbd51]:- @zag-js/dom-query@1.47.0
- @zag-js/core@1.47.0
- @zag-js/anatomy@1.47.0
- @zag-js/types@1.47.0
- @zag-js/utils@1.47.0