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

Fix dropCursor is not correctly rendered #45

Merged
merged 1 commit into from
Jan 30, 2023
Merged

Conversation

CyrusKao
Copy link
Contributor

this.cursor = this.view.scrollDOM.appendChild(document.createElement("div"))

Since dropCursor is directly appended to scrollDOM instead of cursorLayer, an extra position: absolute is needed.

@marijnh marijnh merged commit a0a0b9e into codemirror:main Jan 30, 2023
@marijnh
Copy link
Member

marijnh commented Jan 30, 2023

Thanks for spotting that.

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.

2 participants