How to gracefully block all events when highlighting?
See original GitHub issueI 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.
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:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 propertyallowCase
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.
Same issue here