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

Caret is not displayed #9

Open
PumpkinSeed opened this issue Jun 9, 2017 · 11 comments
Open

Caret is not displayed #9

PumpkinSeed opened this issue Jun 9, 2017 · 11 comments
Labels

Comments

@PumpkinSeed
Copy link

I really miss the cursor.

@iafan
Copy link
Owner

iafan commented Jun 9, 2017

I guess by cursor you mean the blinking caret in the textarea? Can you please provide more information (your OS and browser version)?

@PumpkinSeed
Copy link
Author

Yes, but I'm sorry I thought it's not there because of conscious implementation. I'm on Fedora 25 and Chomre 57.0.2987.133 (64-bit).
Thank you.

@iafan iafan changed the title Missing cursor Caret is not displayed Jun 9, 2017
@iafan iafan added the bug label Jun 9, 2017
@iafan
Copy link
Owner

iafan commented Jun 9, 2017

I wouldn't expect any problems in modern Chrome, but this might be OS-specific somehow. Wish someone having Fedora could confirm the issue. Is that the latest version of Chrome on Fedora? On Mac I'm having version 58, so I'd suggest to update and restart the browser just in case.

Can you try a different theme (click the Settings button and then select a theme from a drop-down list) and see if the caret is invisible in any theme or just specific ones?

Also, could you try this in Firefox as well to see if this bug is browser-specific or OS-specific?

@PumpkinSeed
Copy link
Author

I gave a try to all theme, but I got the same error. It is the latest Chrome for Fedora.

@xi2
Copy link

xi2 commented Jun 14, 2017

Just as an additional data point, I also experience the missing caret.

Browser: Firefox ESR 45.9.0 (latest Debian version).

OS: Debian GNU/Linux.

@iafan
Copy link
Owner

iafan commented Jun 14, 2017

Thanks for keeping the feedback coming, folks. Until I'm able to reproduce this issue, I'm planning to adjust the code so that it works as a vanilla textarea (but with line numbers) in a non-syntax-highlighted mode. Having no syntax highlighting is probably a lesser problem than having no caret at all.

@iafan iafan closed this as completed in 0a4152f Jun 18, 2017
@iafan iafan reopened this Jun 18, 2017
@iafan
Copy link
Owner

iafan commented Jun 18, 2017

Please try with syntax highlighting turned off. Will caret display as expected? (Make sure you force-reload the page for CSS changes to take effect.)

@xi2
Copy link

xi2 commented Jun 21, 2017

Hi. With syntax highlighting off the caret is now displayed as expected. With syntax highlighting on the caret is not displayed.

Browser: Firefox ESR 52.2.0 (latest Debian version). OS: GNU/Linux

@PumpkinSeed
Copy link
Author

With syntax highlighting off the caret is also displayed for me.

Chrome 53, Fedora

@kylieCat
Copy link

kylieCat commented Mar 15, 2018

Turning off syntax highlighting fixes the issue for me as well:

Chrome: Version 56.0.2924.87 (64-bit)
OS: OSX 10.13.3

Updating Chrome to 57 fixed the issue. It would seem this issue relates to the caret-color CSS attribute. It's not supported until Chrome 57 according to the MDN docs. Deactivating that attribute in dev tool with a compatible browser cause the issue to repro.

@iafan
Copy link
Owner

iafan commented Mar 19, 2018

@im-auld thanks for the additional feedback. I'm glad it works for you now! Version 57 is pretty old (it's been a year already since its release; current Chrome on Mac is at version 65 already).

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

No branches or pull requests

4 participants