Skip to content

feat: add scrollElRef to support custom scroll element view#1877

Open
clemdesign wants to merge 2 commits into
usablica:masterfrom
clemdesign:master
Open

feat: add scrollElRef to support custom scroll element view#1877
clemdesign wants to merge 2 commits into
usablica:masterfrom
clemdesign:master

Conversation

@clemdesign

Copy link
Copy Markdown

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.

@afshinm

afshinm commented Mar 23, 2023

Copy link
Copy Markdown
Contributor

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

@vercel

vercel Bot commented Mar 23, 2023

Copy link
Copy Markdown

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)

@clemdesign

Copy link
Copy Markdown
Author

@afshinm done

@Ali762

Ali762 commented May 29, 2025

Copy link
Copy Markdown

upvoting this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants