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

[Bug] n.closest() not a function #1317 #1600

Merged
merged 4 commits into from
Apr 8, 2021
Merged

[Bug] n.closest() not a function #1317 #1600

merged 4 commits into from
Apr 8, 2021

Conversation

LiamMartens
Copy link
Contributor

Should fix #1317

The selection node sometimes ends up being the ShadowRoot which does not have the closest method.
In case it is the shadowroot - I believe we can assume the selection is not at the editor zone

Please correct me if this assumption is not correct.

neSpecc and others added 2 commits March 15, 2021 22:05
Save 2.19.2 changes
The selection node sometimes ends up being the ShadowRoot which does not have the closest method.
In case it is the shadowroot - I believe we can assume the selection is not at the editor zone
@neSpecc neSpecc changed the base branch from master to next March 16, 2021 16:07
@neSpecc
Copy link
Member

neSpecc commented Mar 16, 2021

Please pull the next branch

@gohabereg gohabereg merged commit d5aaa56 into codex-team:next Apr 8, 2021
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.

[Bug] n.closest() not a function
5 participants