react-carousel: Setting offset breaks 'centered'
If you set both centered and offset parameter, then carousel won’t be centered at all.
It also could be seen in live demo page:

IssueHunt Summary
mhatvan has been rewarded.
Backers (Total: $21.00)
piotr-s-brainhub ($21.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 26 (12 by maintainers)
Commits related to this issue
- chore(release): 1.0.2-v2-beta.1 [skip ci] ## [1.0.2-v2-beta.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v1.0.2-v2-beta.1) (2020-07-22) ### Bug Fixes * Adding 'rtl' to breakpoin... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- chore(release): 2.0.0-v2-beta.1 [skip ci] # [2.0.0-v2-beta.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0-v2-beta.1) (2020-07-22) ### Bug Fixes * Adding 'rtl' to breakpoint... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- chore(release): 2.0.0-v2-beta.1 [skip ci] # [2.0.0-v2-beta.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0-v2-beta.1) (2020-07-24) ### Bug Fixes * Adding 'rtl' to breakpoint... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- chore(release): 2.0.0-v2-beta.1 [skip ci] # [2.0.0-v2-beta.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0-v2-beta.1) (2020-07-24) ### Bug Fixes * Adding 'rtl' to breakpoint... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- chore(release): 2.0.0-v2-beta.1 [skip ci] # [2.0.0-v2-beta.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0-v2-beta.1) (2020-07-24) ### Bug Fixes * Adding 'rtl' to breakpoint... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- chore(release): 2.0.0-v2-beta.1 [skip ci] # [2.0.0-v2-beta.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0-v2-beta.1) (2020-07-24) ### Bug Fixes * Adding 'rtl' to breakpoint... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- chore(release): 2.0.0-rc.1 [skip ci] # [2.0.0-rc.1](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0-rc.1) (2020-07-24) ### Bug Fixes * Adding 'rtl' to breakpoints prop-type sha... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- fix: setting offset breaks "centered" plugin #394 * change padding to margin to avoid spacing issues with box sizing: border-box — committed to brainhubeu/react-carousel by RobertHebel 4 years ago
- fix: setting offset breaks "centered" plugin #394 (#618) * change padding to margin to avoid spacing issues with box sizing: border-box — committed to brainhubeu/react-carousel by deleted user 4 years ago
- chore(release): 2.0.0-rc.2 [skip ci] # [2.0.0-rc.2](https://github.com/brainhubeu/react-carousel/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2020-07-24) ### Bug Fixes * setting offset breaks "centered" plu... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
- Carousel 2.0 introduce plugins (#622) * Temporarily remove infinite dots and thumbnails * Remove ClickToChange prop * Remove autoplay * Remove RTL * Remove slides per page * Remove sli... — committed to brainhubeu/react-carousel by deleted user 4 years ago
- chore(release): 2.0.0 [skip ci] # [2.0.0](https://github.com/brainhubeu/react-carousel/compare/v1.0.1...v2.0.0) (2020-07-27) * Carousel 2.0 introduce plugins (#622) ([f4774f1](https://github.com/bra... — committed to brainhubeu/react-carousel by semantic-release-bot 4 years ago
@mhatvan
thanks for your ideas