The cursor position does not match the input
See original GitHub issueProblem
There is a problem with the cursor position in my code
Sample code to reproduce your issue
<AceEditor
width="100%"
height="400px"
ref={editor}
mode="python"
fontSize="14px"
value={field.plugin_code}
showPrintMargin={false}
theme="chrome"
onChange={changeContent}
setOptions={{
useSoftTabs: true
}}
cursorStart={1}
name="插件"
onFocus={focus("plugin_code")}
style={{ border:"1px solid var(--inputcolor)",lineHeight:"24px"}}
editorProps={{ $blockScrolling: Infinity }}
/>
References
Progress on: #
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:9
Top Results From Across the Web
Position of mouse pointer does not match screen coordinates ...
Position of mouse pointer does not match screen coordinates clicked · Open control panel > Hardware & Sound. · Click on Mouse. ·...
Read more >cursor position does not appear in text input? - Stack Overflow
I got the answer from here. this solved my issue. Just style your input like this: caret-color: #333333;.
Read more >cursor dont show the input position · Issue #1158 · connectbot ...
the cursor position does not start at the prompt. Entering some letters, the cursor runs right before the letter. The distance between the...
Read more >cursor position is incorrect when using latest new version
Careful examination shows that the cursor position shown on the IOS devices does not match the cursor position on my mac.
Read more >vmmouse cursor position doesn't match screen coordinates
If you happen to see a button or menu item highlight from mouseover, click will work, but cursor is far away. Version-Release number...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same experience the cursor has an offset of 4 slots
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。