Skip to content
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

fix(CodeEditor): prevent scrolling beyond the last line #81

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

aofei
Copy link
Member

@aofei aofei commented Mar 27, 2024

I'm not sure if this behavior is intentional, but allowing scrolling beyond the last line in the CodeEditor on the goplus.org homepage seems like a bug rather than a feature. It doesn't make sense for this specific use case. We should disable it unless it's somehow necessary.


Screenshot 2024-03-27 at 14 51 56

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2024 7:01am

Copy link
Collaborator

@nighca nighca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx! scrollBeyondLastLine is not intended.

@nighca nighca merged commit c44269e into goplus:master Mar 28, 2024
6 checks passed
@aofei aofei deleted the CodeEditor branch March 28, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants