Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add way to specify scrollerOffset from shortcode #129

Open
composerjk opened this issue Oct 13, 2023 · 2 comments
Open

add way to specify scrollerOffset from shortcode #129

composerjk opened this issue Oct 13, 2023 · 2 comments

Comments

@composerjk
Copy link
Contributor

It would be nice to have a way to allow an implementor to change the scrollerOffset for a transcript in case they want the highlighted section to not be at the top of the window.

As I noted in #128:

I was just reminded that I had made a change (not included in the branches) to the default scrollerOffset from 0 to -160 so that the highlighted portions of the transcripts are more centered. Will open an issue to mention adding support of specifying that value.

The image in that issue also shows the placement of the highlight.

@maboa
Copy link
Member

maboa commented Nov 1, 2023

Yes. That sounds like a good idea 👍🏼

@maboa
Copy link
Member

maboa commented Nov 29, 2023

I think this might have to be first exposed in the Hyperaudio Lite Library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants