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

Text in background textarea seen on selection (Chrome 66) #72

Open
vgavro opened this issue May 22, 2018 · 1 comment
Open

Text in background textarea seen on selection (Chrome 66) #72

vgavro opened this issue May 22, 2018 · 1 comment

Comments

@vgavro
Copy link

vgavro commented May 22, 2018

Well, when text is selected - it's actually also selected in background textarea. If you're using only text it's not a big problem (but it don't looks clean anyway!), but you have more problems when you're replacing some characters in prism (emoji, for example) - so you get image in foreground and text in background, which both seen on selection and interfere with each other (at least in Chrome, haven't tested in other browser, but I expected it is reproduced there also). Here is screenshot (for text-only case) https://ibb.co/cRFvFo
I understand that CodeFlask is tiny project, but there is no such problem in CodeMirror, which is also using background textarea, so it would be useful if you clarify this thing in documentation if this can't be fixed for some reason, thank you.

@vgavro vgavro changed the title Selected text in background textarea seen on selection (Chrome 66) Text in background textarea seen on selection (Chrome 66) May 22, 2018
@pfgithub
Copy link

Also true on firefox and probably every browser. The text in the background is visible, it just has color:white

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

No branches or pull requests

3 participants