-
Notifications
You must be signed in to change notification settings - Fork 172
Closed
Description
Current behaviour
Editor didn't handle vertical and horizontal overflow
Expected behaviour
Editor should handle vertical and horizontal overflow (may be wrap content for handle horizontal)
Code sample
https://codesandbox.io/s/py38vl9nn0
Screenshots (if applicable)
What have you tried
I already tried using style={{overflow-y: 'auto', overflow-x:'auto'}}
to set scroll if there an overflow content, it's show scroll for both vertical and horizontal overflow, but there is some strange bug.
If i click cursor on overflow line, and put it on the end, it's show on the max width, instead of the end of the line.
And also when i'm going to the bottom line, the cursor show on the max height, instead of the bottom of the line.
Your Environment
software | version |
---|---|
react-simple-code-editor | ^0.8.0 |
react | ^16.7.0 |
npm or yarn | 6.2.0 |
node | 10.8.0 |
browser | Google Chrome Version 72.0.3626.109 |
Metadata
Metadata
Assignees
Labels
No labels