sourcefuse / sourcefuse/arc-ng-components
bug(user-onboarding): allow scrollTo option to accept object config
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 10h 8m
- Merged PRs (30d)
- 2
Description
Describe the bug
The scrollTo option in TourStep attachTo configuration only accepts boolean values, limiting scroll behavior customization.
To Reproduce
Steps to reproduce the behavior:
- Attempt to configure a tour step with advanced scroll options using an object config
- See type error indicating only boolean is accepted
Expected behavior
The scrollTo option should accept both boolean and object configurations for flexible scroll behavior.
Additional context
Modified TourStep interface to extend scrollTo type from boolean to boolean | object
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the TourStep interface and its attachTo configuration, then inspect how scrollTo is currently typed. Update the type so both boolean and object configurations are accepted, and verify that TypeScript type checking accepts both forms without rejecting the existing boolean usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100