We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When typing in the code the Caret offsetX grows and moves far away from the end of the line. My code is very basic
import AceEditor from 'react-ace'; import 'ace-builds/src-noconflict/ext-language_tools'; import 'ace-builds/src-min-noconflict/mode-mysql'; import 'ace-builds/src-noconflict/theme-sqlserver'; export default function QueryEditor({ value, onChange = () => {} }) { return ( <div> <AceEditor id="editor" aria-label="editor" mode="mysql" theme="sqlserver" name="editor" width="100%" fontSize={14} lineHeight={19} minLines={15} maxLines={10} showPrintMargin showGutter highlightActiveLine placeholder="Write your query here..." editorProps={{ $blockScrolling: true }} setOptions={{ enableBasicAutocompletion: true, enableLiveAutocompletion: true, enableSnippets: false, enableMobileMenu: true, showLineNumbers: true, tabSize: 2 }} value={value} onChange={onChange} showLineNumbers /> </div> ); }
Progress on: #
The text was updated successfully, but these errors were encountered:
This seems to help (css)
* { font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace !important; }
Sorry, something went wrong.
No branches or pull requests
Problem
When typing in the code the Caret offsetX grows and moves far away from the end of the line.
My code is very basic
Sample code to reproduce your issue
References
caret.mp4
Progress on: #
The text was updated successfully, but these errors were encountered: