-
Notifications
You must be signed in to change notification settings - Fork 192
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
autoScrollCursorOnSet={false} deprecation has no replacement #25
autoScrollCursorOnSet={false} deprecation has no replacement #25
Comments
Well, those props you had mentioned are suppose to be the replacement. Clearly something is not working as expected. I'll look into this shortly. |
Thanks a lot! Kudos to your profile pic too btw. |
@martingronlund Hey again. So I want to clarify just a little more. Were you using Have you tried both
Looking at the changes now, If I can reproduce this I'll fix it asap. |
Hey, thanks for getting back so quickly. No, was not using scroll before. I tested it by having a JSON of ~300 lines.
Hope it helps! |
@martingronlund I think I have found the problem and have published up a 3.0.1 release to npm. You should be able to simply specify This appears to be the same pitfall discovered in #14. When refactoring this I overlooked that one and reverted back to Let me know if this looks better? |
Works! Great job! |
Using autoScrollCursorOnSet = false on version 2.0.2, my editor does not scroll new content into view.
I can't seem to find any combination of scroll, autoScroll and autoCursor (I tried all six of them) that works the same. I do not want to scroll on new content since it comes from a server which might update it at any time, and I'm there to read in the middle of a big JSON.
Please provide a fix, this is keeping me from upgrading.
By the way, was using the Controlled component version.
The text was updated successfully, but these errors were encountered: