Skip to content

Conversation

@Abhijitam01
Copy link

This PR addresses issue #19, where the cursor gets stuck at the bottom of the screen while typing. This can create an uncomfortable writing experience, especially as users approach the end of the visible editor space.

@farzaa
Copy link
Owner

farzaa commented Apr 14, 2025

hey not quite working.

doing an odd thingwhen you type and the try to scroll up once the auto scroll happens.

image

@farzaa farzaa mentioned this pull request Apr 14, 2025
@farzaa farzaa added the enhancement New feature or request label Apr 14, 2025
@Abhijitam01
Copy link
Author

wait let me do the enhancement and commit the changes

@parthmshah1302
Copy link
Contributor

parthmshah1302 commented Apr 15, 2025

fixed in #57

i did a different approach here to prevent the weird scrolling behavior. instead of adding padding to push content up, we now directly control the scroll position with NSViewRepresentable wrapper. this feels much more natural when typing and also doesn't interfere when manually scrolling up after auto-scroll happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants