Skip to content

Select only visible elements for the tour#441

Open
trymebytes wants to merge 2 commits intokamranahmedse:masterfrom
trymebytes:select-visible-elements
Open

Select only visible elements for the tour#441
trymebytes wants to merge 2 commits intokamranahmedse:masterfrom
trymebytes:select-visible-elements

Conversation

@trymebytes
Copy link
Copy Markdown

Problem

The tour is activated for the first element that matches the selector and causes a problem when the element is not visible or is hidden.

Solution

In this PR, I try to ensure that the tour is activated for the visible element that matches the selector. As a result the tour will not be activated for hidden elements.

@bekogeko
Copy link
Copy Markdown

bekogeko commented Nov 8, 2023

Does it also work for 'display:none' elements?

@trymebytes
Copy link
Copy Markdown
Author

I'm unable to merge this PR because I don't have write access.

@reredemir
Copy link
Copy Markdown

@kamranahmedse do you think it's possible to merge this feature ? It would be greatly appreciated to have this security.

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

Successfully merging this pull request may close these issues.

5 participants