When spotlight is active, the overlay will have a style pointer-event: auto; however, this will change to pointer-event: none when mouse is hovering the spotlight area. As for mobile, since there's no hovering, user has to press twice, one to hover on the spotlight and the other to click on the element.
🐛 Bug Report
When spotlight is active, the overlay will have a style
pointer-event: auto
; however, this will change topointer-event: none
when mouse is hovering the spotlight area. As for mobile, since there's no hovering, user has to press twice, one to hover on the spotlight and the other to click on the element.Note that iPhone Safari works
To Reproduce
See https://codesandbox.io/s/github/gilbarbara/react-joyride-demo in controlled tab.
Try clicking on the menu tab on the top left corner.
Expected behavior
User should be able to press on the element once to trigger its action
Link to repl or repo (highly encouraged)
See to reproduce section