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

🐛 [BUG] - błąd Swiper Grid #425

Open
elviss3 opened this issue Sep 27, 2024 · 0 comments
Open

🐛 [BUG] - błąd Swiper Grid #425

elviss3 opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@elviss3
Copy link

elviss3 commented Sep 27, 2024

Description

nie działa Swiper Grid

Node.js version

v15

php version

v8.1

OS and it's version

Windows Xampp/serwer

Browsers

Firefox

Required module/theme

Falkon 3.1.2

Reproduction steps

1. Go to 'theme/templates/components/featured-products.tpl'
2. Add to: 
$sliderConfig = [
'grid' => [
              'rows' => 2,
              'fill' => 'row' // or 'column'
          ],
]

3. go to _dev > components/sliders/SwiperSlider.js
- add to 'dynamicModulesMap':
grid: new DynamicImportSwiperModule(
      () => [
        import('@node_modules/swiper/modules/grid/grid.js'),
        import('@node_modules/swiper/modules/grid/grid.scss'),
      ],
  ),

then 

'fill' => 'row' is working, but 'fill' => 'column' puts items in one vertical row

Logs

No response

@elviss3 elviss3 added the bug Something isn't working label Sep 27, 2024
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

1 participant