镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Right & Left Arrow disappear #67

Open

Description

@martellapetesso

Hi everybody, i have an issue with the left and right arrows. With three images, I have the arrows in the centered image. With four images, it works perfect and with more than four images, the arrows are disappeared.

Code:

*.jsx

<div className="swipe-div">
                           <Coverflow width="500" height="300"
                                displayQuantityOfSide={2}
                                navigation
                                enableScroll={false}
                                infiniteScroll
                                active={0}>
                                <img src={images.about} />
                                <img src={images.bgBlog} />
                                <img src={images.home} />
                                <img src={images.bgBlog} />
                                <img src={images.bgBlog} />
                            </Coverflow>
                        </div>

*.scss

.swipe-div {
        max-width: 1000px;
        display: block;
        margin-left: auto;
        margin-right: auto;

        .coverflow__container__1P-xE {
            background: white !important;
        }
    }

4 Images:
Screenshot 2019-08-01 at 13 29 08

5 Images:
Screenshot 2019-08-01 at 13 29 24

Activity

  1. TheAksh commented on Aug 27, 2019

    @TheAksh

    +1

  2. asalem1 commented on Sep 5, 2019

    @asalem1
    Collaborator

    @martellapetesso, thanks for bringing this to my attention. I'll try and get a PR up ASAP to fix this.

  3. PiyushVinayarajan commented on Dec 3, 2019

    @PiyushVinayarajan

    Same here :(

  4. MonkeyDo commented on Dec 15, 2021

    @MonkeyDo

    Had the same issue, and I managed to change their placement with some CSS fuzzy matching:

    div[class*="coverflow__left__"]{
    	left:calc(50% - 300px) !important;
    }
    div[class*="coverflow__right__"]{
    	right:calc(50% - 300px) !important;
    }

    Be aware that you might need to play with these values to suit your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions