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.

How to gracefully block all events when highlighting?

See original GitHub issue

I found,in all steps, when the mouse clicks or places on (hover) the highlighted area, user can interact with dom which in the area. I feel maybe it’s not good because it’s user guide, maybe user shouldn’t do something at this time.

A60E6F74-700D-4944-A1A1-BA373E8E2C4C

As the picture above. If user can click to expand the menu, he can’t shrink.(TAT) So could you tell me how can I prevent all event when highlighted? by set a attribute? or after some function call? Now I just use document.getElementById(xxx) to get dom and set style pointer-events to none in onNext function,it’s work. But I use Vue.js,it not recommend to use document

Looking forward to reply 😃

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Moon1102commented, Feb 5, 2020

Maybe I didn’t express the right meaning…(for my poor English 🤣) According to the comments(Whether the click on overlay should close or not),the property allowCase controls whether the overlay can be hidden by clicking on the gray mask,I didn’t find that it could affect the highlighted area whatever I set it true or false.

But what I want is all events in the highlighted area should be blocked,otherwise,just like the picture I sent, the user accidentally clicked the button and looked a little strange.

Now in my project, I add:

.driver-highlighted-element { z-index: 100004 !important; pointer-events: none; }

It can meet my current needs. But I don’t think it’s the best generic way.

0reactions
koutsenkocommented, Apr 15, 2020

Same issue here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable highlight of an external event in fullcalendar
Is there any possible way to disable the fc-highlight from the event or any option to show the highlight on the basis of...
Read more >
Graceful shutdown in NodeJS - HackerNoon
In this article, I am going to show you how to do a graceful shutdown in NodeJS application. We need to handle all...
Read more >
Using Event Emitters in Node.js - DigitalOcean
Event emitters are objects in Node.js that trigger an event by sending a message to signal that an action was completed.
Read more >
Implementing Graceful Shutdown in Go | RudderStack Blog
To shutdown gracefully is for the program to terminate after: All pending processes (web request, loops) are completed - no new processes should ......
Read more >
How to reject candidates gracefully (with examples) - Freshteam
The verbal repetition will also highlight the requirements and show ... Include links and invite them to follow your careers page and other ......
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