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

Hide Hooper's initialization from the user #122

Closed
Lorti opened this issue Aug 12, 2019 · 0 comments · Fixed by #123
Closed

Hide Hooper's initialization from the user #122

Lorti opened this issue Aug 12, 2019 · 0 comments · Fixed by #123
Labels
enhancement New feature or request

Comments

@Lorti
Copy link

Lorti commented Aug 12, 2019

Is your feature request related to a problem?
When a page is loading the user notices Hooper's initialization. This is especially distracting when using Hooper in infiniteScroll mode, as seen in the official example at https://baianat.github.io/hooper/examples.html#infinite-scrolling. The page is loaded and Hooper transitions from the first slide to the first copy of that slide.

Describe the solution you'd like
Hooper's initialization shouldn't be visible, for aesthetic reasons. For the infiniteScroll mode this might be as simple as setting transition: none; on .hooper-track until the carousel is ready.

Describe alternatives you've considered
Setting visibility: hidden may be an alternative, but it might interfere with the initialization itself, and has to be thoroughly tested. But it could "prettify" all modes, not just infiniteScroll.

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

Successfully merging a pull request may close this issue.

2 participants