-
Notifications
You must be signed in to change notification settings - Fork 856
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
[Bug]: cursor should stick at the end in text wrap mode #2067
Comments
Using the We'll most likely fix the position of the cursor for the following textWrap: {
height: null, // no height restriction
preserveSpaces: true, // do not collapse spaces
} If you limit the height of the text, the text will eventually overflow the area and scrollbars will need to be displayed. That is not a feature of SVG - rendering custom scrollbars and clipping the text would be required. For the other cases, you might need to use a different approach:
|
thanks @kumilingus for the different approaches with little bit of tweaks the text area approach will works for us. also this is bit of off topic but do you have any upgrade documentation that points out any breaking changes while upgrading from one version to another. we are now on version 3.3.0 and using it with reactjs +typescript |
We're on version |
@kumilingus hey, any updates on this? Faced same issue on v4.0.0. If textWrap option provided the caret is not working as expected with |
What happened?
Currently when text wrap is enable the cursor jumps to middle while typing and also spaces are not preserve
Please find attached video https://screenrec.com/share/MCZlKosU3h
Version
3.3.0
What browsers are you seeing the problem on?
No response
What operating system are you seeing the problem on?
No response
The text was updated successfully, but these errors were encountered: