intro.js icon indicating copy to clipboard operation
intro.js copied to clipboard

feat: add scrollElRef to support custom scroll element view

Open clemdesign opened this issue 2 years ago • 3 comments

I propose this PR in order to add options scrollElRef which support a custom scroll element view.

This one can be defined in global options set or in step options.

Where defined, the scroll action is defined on the element instead to be determinated by getParentScroll().

It useful typically in Ionic application where shadow container is defined and getParentScroll() not detect the scroll element. I tried to build a sample but not fully operational in Ionic-like context.

clemdesign avatar Feb 15 '23 14:02 clemdesign

@clemdesign Sounds good. Could you rebase your branch please?

afshinm avatar Mar 23 '23 08:03 afshinm

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
intro-js ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 23, 2023 at 0:21AM (UTC)

vercel[bot] avatar Mar 23 '23 12:03 vercel[bot]

@afshinm done

clemdesign avatar Mar 23 '23 12:03 clemdesign