selection-popup
selection-popup copied to clipboard
Issue with React/TypeScript + your script
Not a direct issue with your project, but I discovered it when trying to use your project, and thought you might be able to help me modify your project to avoid the issue.
Full details are here: https://stackoverflow.com/questions/51736590/rendering-variables-from-state-stops-working-if-innerhtml-is-modified
For some reason using document.body.innerHTML
in React and/or TypeScript causes the React rendering to stop working
Also I was curious how difficult it will be for me to configure the popup to show up at the bottom center of the selection instead of the top center?