-
Notifications
You must be signed in to change notification settings - Fork 4
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
Clippings Input Event Not Recorded By ShadowDom #320
Comments
Clippings creates and dispatches the input event whenever a "paste" occurs, but the |
Hey, unfortunately the exact code that I'm working on isn't available but I can make a Codepen with a shadowdom + insertable div and link it here. Give me a moment P.S. Thank you for the help! |
https://codepen.io/wd23/pen/yLarwvb Let me know if this works for you. I can replicate the issue on my end using it |
I've tried setting Reading through the MDN doc[1], I understand it to mean that setting Unless there is something else that can be tried, I'm going to leave it at that for now. I've created a branch in this repo where I've parked the attempted fix. [1] https://developer.mozilla.org/en-US/docs/Web/API/Event/composed |
… shadown DOM of a custom web component (issue #320)
master...willrpike:patch-2 fixes this bug. |
@aecreations Could you try it on the codepen link with @willrpike's changes? |
Opened a pull request #327 |
Thanks @willrpike for submitting the fix! Tested using the above Codepen, as well as my own test HTML page, and the HTML editors found in Gmail, Outlook.com and Yahoo! Mail. |
…o branches/6.2 - Pulling in PR for fix for issue #320 into 6.2.x branch
Fixed in Clippings 6.2.6. Release announcement: https://aecreations.blogspot.com/2021/02/clippings-626-released.html |
Hey there, I'm working with custom components via Vue that are using a ShadowDom. I've run into an issue where clippings does not paste the content into an input or editable div within the shadow dom.
As I understand it, input events are composed, so they should bubble down into the shadow dom, however, I don't think that this is the case for Clippings.
Pasting text from the context menu works, and so does the paste event from ctrl + v, but for some reason the input event emitted by Clippings isn't even being captured.
I've tried isolating the element/document that encapsulates the shadowdom, and printing any input events that occur, and events like context menu paste and keyups work, but again Clippings input events aren't being captured.
I'd appreciate any help!
Ben
The text was updated successfully, but these errors were encountered: