Issue with driver inside scrollable div
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 26.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi! Just tried driver.js, really loved it, but faced this issue trying to use it in my app. Here is a working example. In my case the elements driver supposed to loop through are placed inside a scrollable div and some of them are scrolled out of the view.
I tried using onNextClick event to make next element scroll into view, but with no luck.
Contributor guide
No contributing guide indexed for this repository
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
Start with the linked StackBlitz working example and reproduce the tour with targets inside a scrollable div, including targets outside the viewport. Trace how the tour advances and positions each target; done means the next target is brought into view and highlighted correctly without requiring the reporter's onNextClick workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100