Skip to content
New issue

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

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

Already on GitHub? # to your account

Revise ojs map #65

Merged
merged 8 commits into from
Aug 5, 2024
Merged

Revise ojs map #65

merged 8 commits into from
Aug 5, 2024

Conversation

andrewpbray
Copy link
Contributor

@andrewpbray andrewpbray commented Aug 5, 2024

Introduce a crProgressBlock ojs variable that is tracked a separate scroller and is tied to a .progress-block div that can wrap triggers.

Copy link
Contributor Author

@andrewpbray andrewpbray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good (this is a self-review)

@andrewpbray
Copy link
Contributor Author

@jimjam-slam Here is a second way to pass progress to ojs variables. One nice thing about the spanning block approach is that it doesn't seem to suffer from the stuttering that happens is you quickly scroll through the triggers in the second example.

Let me know your thoughts. It feels a bit fragile to move towards wrapping some triggers in an additional Div and not others, but I haven't found any induced bugs so far... 🤞

@andrewpbray andrewpbray merged commit a072936 into main Aug 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant