Skip to content

v0.2.0

Compare
Choose a tag to compare
@exogen exogen released this 18 Nov 01:43
· 6 commits to master since this release

New Feature

  • When using a child function in <Overflow.Indicator>, it will now receive a second refs argument. This provides access to the viewport ref – you can use this to build an indicator that is also a button that scrolls the viewport.
  • The new useOverflow hook provides access to the Overflow component’s state and refs.

Performance

  • When using a nonzero tolerance value, the generated tolerance element is now memoized.