We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example: New reddit browse page post snippets are covered in a big anchor tag that blocks all text.
One idea that worked in a simple devtools test is to save the blocking dom, recheck for the range and then add it back. Something like:
const savedStartNode = range.startContainer'; const replacement = document.creeateElement('div'); savedStartNode.replaceWith(replacement); range = document.caretRangeAtPosition(...); // <insert code here> replacement.replaceWith(savedStartNode)
Hopefully this would keep everything intact and be invisible to the user but I'm not 100% sure.
Decisions to make:
We'll also need to fix #2336 since the event target will certainly be wrong if the original event target was the absolutely positioned element.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example: New reddit browse page post snippets are covered in a big anchor tag that blocks all text.
One idea that worked in a simple devtools test is to save the blocking dom, recheck for the range and then add it back. Something like:
Hopefully this would keep everything intact and be invisible to the user but I'm not 100% sure.
Decisions to make:
We'll also need to fix #2336 since the event target will certainly be wrong if the original event target was the absolutely positioned element.
The text was updated successfully, but these errors were encountered: