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

Carousel Thumbnails: Use manually added HTML to reduce element flickering during creation. #720

Open
AlexanderMatveev opened this issue Jan 15, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@AlexanderMatveev
Copy link

Is your feature request related to a problem? Please describe.

I have a carousel with thumbnails at the top of the page. The problem is that at the moment of initialization the entire page flickers and moves from bottom to top, and I would like to get rid of this.

Describe the solution you'd like

Allow manually adding prerendered HTML and attach thumbs to it, just like Carousel https://fancyapps.com/carousel/getting-started/#usage:

<div class="f-thumbs f-carousel__thumbs is-classic is-ltr is-horizontal" id="carousel-thumbs">
    <div class="f-thumbs__viewport">
        <div class="f-thumbs__track" aria-live="polite">
            <!-- ... -->
        </div>
    </div>
</div>

Describe alternatives you've considered

No response

Additional context

No response

@fancyapps fancyapps added the enhancement New feature or request label Jan 24, 2025
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

No branches or pull requests

2 participants