Skip to content

bug: ion-slides options for centeredSlides has no effect #18081

@saralilyb

Description

@saralilyb

Bug Report

Ionic version:

[x] 4.x

Current behavior:

Ion slides, when passed options that include centeredSlides: true, does not actually use that option.

Expected behavior:

Steps to reproduce:

Related code:
https://github.com/jtth/ionic-slides-center

insert short code snippets here

Other information:

All the other options seem to be passed fine. Mike said in Slack it seems like that option in particular isn't being passed through, maybe?

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.12.0 (/Users/jtth/.nvm/versions/node/v10.13.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.3.0
   @angular-devkit/build-angular : 0.13.8
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.3.8
   @ionic/angular-toolkit        : 1.4.1

System:

   NodeJS : v10.13.0 (/Users/jtth/.nvm/versions/node/v10.13.0/bin/node)
   npm    : 6.9.0
   OS     : macOS Mojave```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions