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

trix-selection-change is not fired on safari #1106

Closed
Meth0d-S opened this issue Oct 27, 2023 · 3 comments
Closed

trix-selection-change is not fired on safari #1106

Meth0d-S opened this issue Oct 27, 2023 · 3 comments

Comments

@Meth0d-S
Copy link

hello, i have this code:

document.addEventListener('trix-selection-change', e => {
    console.log(e)
})

macos 14.0 (23A344), safari 17.0 (19616.1.27.211.1):
event fires when we focus editor and don't fires when we change selection.

in other browsers it works correctly

@afcapel
Copy link
Contributor

afcapel commented Oct 27, 2023

Have you tried with v2.0.7? There was selection issue with Safari 17 that was fixed in 2.0.7.

@Meth0d-S
Copy link
Author

ty, its working. im sry for stupid question))

@afcapel
Copy link
Contributor

afcapel commented Oct 27, 2023

No worries, glad it's working.

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

No branches or pull requests

2 participants