# Cursor initially fails to show upon clicking

**URL:** <https://discuss.codemirror.net/t/cursor-initially-fails-to-show-upon-clicking/7922>\
**Category:** Uncategorized\
**Created:** [February 29, 2024, 6:35am UTC](https://discuss.codemirror.net/t/cursor-initially-fails-to-show-upon-clicking/7922 "2024-02-29T06:35:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasanna](https://discuss.codemirror.net/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@prasanna](https://discuss.codemirror.net/u/prasanna)\
**Post date:** [February 29, 2024, 6:35am UTC](https://discuss.codemirror.net/t/cursor-initially-fails-to-show-upon-clicking/7922/1 "2024-02-29T06:35:26Z")

</div>

In a .NET MVC project, using the **Code Mirror library in JavaScript** , I encountered the following issue:

.NET Framework version - **4.5**  
Code Mirror version - **5.63.1**

1.Initially, clicking on the editor fails to display the blinking cursor, but **when text is entered, the cursor appears**.

1. Below is the code for initializing CodeMirror:  

2. I attempted the following fix, but the issue persists:  
 ![image](https://discuss.codemirror.net/uploads/default/original/2X/c/cd1cb0be5559b56b02074509ab0a75d709ddf947.png)

I’m seeking assistance in resolving this issue.
