Skip to content

Commit

Permalink
Comment (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Mar 22, 2024
1 parent 2519882 commit e9a61b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-hooks/src/usePopoverOnScrollRef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export interface UsePopoverOnScrollRefResult<T> {
* @param findScrollArea Function to retreive the DOM element to attach a scroll
* event listener to
* @param onScroll Scroll event listener function to attach
* @param getInitialScrollPosition Function to retrieve the initial scroll position.
* @param getInitialScrollPosition Function to retrieve the initial scroll
* position. If it returns `null`, no scrolling will occur.
*/
export function usePopoverOnScrollRef<T>(
findScrollArea: (ref: T | null) => HTMLElement | null,
Expand Down

0 comments on commit e9a61b7

Please sign in to comment.