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

Element Click does not handle situation where the element has no container #1717

Open
AtkinsSJ opened this issue Jan 26, 2023 · 0 comments
Open

Comments

@AtkinsSJ
Copy link

AtkinsSJ commented Jan 26, 2023

Getting the container can return undefined (if the element is an <option> without a valid parent), however the algorithm here assumes that it always returns a node which can have events fired on. For example:

  1. Scroll into view the element’s container.
  1. Let parent node be the element’s container.
  2. Fire a mouseOver event at parent node.

Maybe this issue does not come up in practice, but it feels like it should be handled somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants