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

Grid extension doesn't work #1275

Open
2 tasks done
trompomorsula opened this issue Feb 12, 2024 · 1 comment
Open
2 tasks done

Grid extension doesn't work #1275

trompomorsula opened this issue Feb 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@trompomorsula
Copy link

Checks

Version

v0.6.12

Description

I am trying to make a carousel with grid, with cols and rows.
I have followed the steps in the documentation and I can't get it to put the elements in the grid. It works but it doesn't make the grid.

Reproduction Link

No response

Steps to Reproduce

import { Grid } from '@splidejs/splide-extension-grid'

const options = {
rewind: true,
direction: 'ttb',
height: '20rem',
perPage: 8,
perMove: 1,
grid: {
rows: 2,
cols: 4,
gap : {
row: '1rem',
col: '1.5rem',
},
},
};

Expected Behaviour

Captura de pantalla 2024-02-12 a las 16 24 26

@trompomorsula trompomorsula added the bug Something isn't working label Feb 12, 2024
@wplit
Copy link

wplit commented Feb 26, 2024

You'd be best to provide an example URL where it's going wrong. So people can inspect the page and spot the issue. The grid works when i'm testing it, so likely just something unique to how you're setting it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants