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: replace selection polyfill in quill to handle Safari selection issues #179

Merged
merged 6 commits into from
Sep 20, 2021

Conversation

sissbruecker
Copy link
Contributor

@sissbruecker sissbruecker commented Sep 14, 2021

Description

Updates Quill dependency to use a new polyfill for shadow DOM text selection (related PR: vaadin/quill#2).

Fixes: vaadin/web-components#2115
Fixes: vaadin/web-components#2139 - this one is about text input and selection not working in any Vaadin component in iOS 12, which is also caused by the old polyfill

@CLAassistant
Copy link

CLAassistant commented Sep 14, 2021

CLA assistant check
All committers have signed the CLA.

@sissbruecker sissbruecker changed the title refactor: update quill library to use new selection polyfill fix: replace selection polyfill in quill to handle Safari selection issues Sep 14, 2021
@sissbruecker sissbruecker marked this pull request as draft September 14, 2021 14:22
@sissbruecker sissbruecker force-pushed the refacot/replace-quill-selection-polyfill branch from c34b486 to 1f8abd7 Compare September 14, 2021 14:49
test/index.html Show resolved Hide resolved
test/basic.html Show resolved Hide resolved
@sissbruecker sissbruecker marked this pull request as ready for review September 16, 2021 15:15
@hdamr hdamr self-requested a review September 20, 2021 10:04
Copy link

@hdamr hdamr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked RTE demo pages on various versions of iOS (10.3, 11.2, 12.1,13.3, 14.3) and it worked as expected and no problem was seen. Also other browsers (IE11, FF, Edge) were tested and it was working fine, both RTE functionality and also adding an extra input field on the page to test typing into input field.

Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

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