Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect if element to be acted on is actually on top/viewable #251

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

ryanong
Copy link
Contributor

@ryanong ryanong commented Nov 8, 2023

fixes #220

If the element is in the viewport it now checks to see if the element is actually the top element and clickable.

scrollIntoViewport and _isInViewport are now not name well but I am also unsure what else to name them.

scrollIntoActionableViewPort and _isInActionableViewport?

@route
Copy link
Member

route commented Nov 9, 2023

tests are failing, can you rebase on master?

@ryanong
Copy link
Contributor Author

ryanong commented Nov 9, 2023

It needs a bit more work... hold on before you run again

@ryanong
Copy link
Contributor Author

ryanong commented Nov 9, 2023

okay good to go

@route route merged commit aa5b70c into rubycdp:main Nov 10, 2023
6 checks passed
@route
Copy link
Member

route commented Nov 10, 2023

Thanks!

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.

Cuprite.scrollIntoViewport does not properly handle elements hidden by overlays
2 participants