nilbuild / nilbuild/driver.js

Issue with driver inside scrollable div

Open
#577 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.