-
Notifications
You must be signed in to change notification settings - Fork 61
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
cannot select multi lines when wrap CodeField in a SingleChildScrollView #74
Comments
same issue |
@itzhoujun maybe try this https://github.com/akvelon/flutter-code-editor, this package contains a lot of other features |
@guchengxi1994 thanks. |
@guchengxi1994 flutter-code-editor has same issue. Any idea to fix it? |
@itzhoujun @guchengxi1994 My fork has this solved: https://github.com/mack-at-pieces/code_field. Feel free to use! |
@mack-at-pieces Great! |
Hi, which commit is to fix it? I want to fix it at https://github.com/akvelon/flutter-code-editor |
@itzhoujun I think this one. 565d61a |
@mack-at-pieces would you mind putting together a PR to merge your fix in? |
Hi all @guchengxi1994 @BertrandBev my apologies - I forgot my fix for this isn't within the code editor itself, it's related to the implementation. If you are wrapping the My solution was to eliminate any scroll widgets wrapping the CodeField and put What this looks like in practice using the example app in the package: There may be another fundamental change to the CodeField itself that that would solve the issue, but this is what I found for now. |
This fix is actually related to the scrollbar sometimes appearing in the line number column. |
The text was updated successfully, but these errors were encountered: