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

Popover arrow is not pointing to element #558

Open
dbursa opened this issue Feb 22, 2025 · 0 comments
Open

Popover arrow is not pointing to element #558

dbursa opened this issue Feb 22, 2025 · 0 comments

Comments

@dbursa
Copy link

dbursa commented Feb 22, 2025

I have this popover, but arrow is not pointing to highlighted element at all.

Image

My step config:

const step1: DriveStep = {
    element: '#onboarding-step-1',
    popover: {
        description: 'This rate shows played minutes of other managers Squad.',
        side: 'bottom',
        align: 'center',
        showProgress: true,
        showButtons: ['next']
    }
};

My driver config:

const driverObj = driver({
    overlayColor: '#172d49',
    overlayOpacity: 0.25,
    popoverClass: 'onboarding-tour',
    stagePadding: 7,
    stageRadius: 50,
    showProgress: true,
    steps: [step1, step2, step3, step4],
    allowClose: false,
    nextBtnText: 'Next',
    onNextClick: (element, step, options) => {
        driverObj.moveNext()
        if (!driverObj.hasNextStep()) {
            options.config.stageRadius = 8
        }
    },    
});

Also i had to add this to see arrow:

        .driver-popover-arrow-none {
            display: block !important;
        }

Maybe am I missing somtehing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant