question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

V6.1.1 init with pagination, pagination DOM is empty

See original GitHub issue

This is a (multiple allowed):

  • bug

  • Swiper Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE.

V6.1.1

  • Platform/Target and Browser Versions: PLATFORM CLIENT YOU ARE TARGETING SUCH AS macOS, Windows, CORDOVA, IOS, ANDROID, CHROME, ETC.

macOS, CHROME

  • Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).

https://codepen.io/believezjp/pen/xxVOboe

What you did

EXPLAIN WHAT YOU DID, PREFERABLY WITH CODE EXAMPLES, HERE.

new Swiper('.swiper-container', {
        // need pagination
        pagination: {
          el: '.swiper-pagination',
          type: 'bullets'
       }
})

use Swiper in a vue.js project, init with pagination, check DOM <div class="swiper-pagination"></div> there is no bullets in pagination DOM.

Expected Behavior

EXPLAIN WHAT IS TO BE EXPECTED, HERE.

show pagination bullets DOM in <div class="swiper-pagination"></div>

Actual Behavior

EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow for that.

Before you open an issue, please check if a similar issue already exists or has been closed before.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
GitOfZGTcommented, Aug 26, 2020

I known why!

image image

but import Swiper from "swiper/swiper-bundle.esm.js" is ok!

7reactions
nolimits4webcommented, Aug 21, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Bountysource
V6.1.1 init with pagination, pagination DOM is empty.
Read more >
Swiper Pagination - ADocLib
Highcharts Basic v6.1.1 20180627 Fixed data module failing to initialize chart when the data config was empty. maxHeight option for paging.
Read more >
React pagination from scratch using Hooks - LogRocket Blog
Create a reusable pagination component from scratch using React Hooks and avoid heavy libraries that may harm your app's performance.
Read more >
Pagination | React InstantSearch - Algolia
A React InstantSearch widget for allowing users to change the current page of the search results.
Read more >
https://raw.githubusercontent.com/SeoJaeWan/rs-swi...
Changelog # [6.4.15](https://github.com/nolimits4web/Swiper/compare/v6.4.14... ... **svelte/vue** navigation, pagination and scrollbar is not disabled when ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found