Skip to content

ScrollTrackOptions thumbHeight #2

Description

@jh-9527

I set thumbHeight but it didn't work. I also want to add a minimum height configuration to thumb.

  const scrollTrackOptions = useMemo<ScrollTrackOptions>(
    () => ({
      inverted: false,
      fadeOutDelay: 1200,
      hitSlop: 16,
      scrollThrottle: 16,
      styling: {
        trackVisible: false,
        thumbColor: 'rgba(0,0,0,0.35)',
        thumbOpacity: 1,
        trackWidth: 12,
        thumbHeight: 56,
        thumbBorderRadius: 4,
      },
    }),
    [],
  );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions