question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Highlighted element is not visible, solid background covers the content

See original GitHub issue

I’m experimenting an issue with this JS tool.

I included the css and js from the dist folder.

I configured as follow:

$(document).ready(() => {

    const driver = new Driver({
        animate: true,
        opacity: 0.7,
        padding: 10,
        stageBackground: '#ffffff',
        showButtons: true,
        keyboardControl: true,
        allowClose: false
    });

    driver.defineSteps([
            {
                element: '#element > a > span',
                popover: {
                    title: 'Title',
                    description: 'Description',
                    position: 'right-center'
                }
            }, {
                element: '#element> div > span.my-class',
                popover: {
                    title: 'Title',
                    description: 'Description',
                    position: 'right-center'
               }
           }
        ]
    );

    driver.start();
});

I’m getting the result:

Schermata 2020-05-26 alle 15 36 46

As you can see the highlighted content is totally covered by the white background, and in the DOM the highlighted element is empty.

The same beheviour presents on any element of the page, and with any stageBackground solid color.

Is there a way to configure it properly to get a result as in the examples?

Thanks.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
kamranahmedsecommented, May 27, 2020

It seems to be an issue with positioning. Can you please try with animate: false and see if it fixes the issue. Also, please provide a codesandbox example so that we can help better.

5reactions
PeterPan73commented, Jul 14, 2020

Hi @kamranahmedse When will fix problem with modals in Bootstrap? Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

css - Anyway to prevent the Blue highlighting of elements ...
The highlighting indicates to the user that their tap is being successfully recognized, and indicates which element they're tapping on.
Read more >
Editing the background color of content elements
You can use background colors in several ways. If you only edit the background color of single content elements, these elements will be...
Read more >
-webkit-tap-highlight-color - CSS: Cascading Style Sheets | MDN
The highlighting indicates to the user that their tap is being successfully recognized, and indicates which element they're tapping on.
Read more >
Using the brightness() CSS Filter to generically highlight Content
To be clear: The backdrop-filter does not apply to the affected element background properties like background , background-image , gradients and ...
Read more >
Element's style settings - PageFly Manual
Background. Border. Display. Effect. Advanced. Element Global Style ... you can not adjust the Margin left and Margin right for the selected elements....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found