Skip to content

UX: Reseting scroll state when exiting SHOW command#1591

Closed
jpcano wants to merge 1 commit intoc3d:devfrom
jpcano:reset-position-show-command
Closed

UX: Reseting scroll state when exiting SHOW command#1591
jpcano wants to merge 1 commit intoc3d:devfrom
jpcano:reset-position-show-command

Conversation

@jpcano
Copy link
Copy Markdown

@jpcano jpcano commented Dec 20, 2025

At first glance, I thought it was a bug.

If you enter a "tall" equation like this: '1÷2÷3÷4÷5÷6÷7÷8÷9÷10÷11÷12÷13÷14÷15÷16'
Then press SHOW and scroll down to the bottom.
Then exit SHOW and enter a "short" equation like '2+2'
Then press SHOW, you expect to see the new equation but nothing is rendered (you actually need to scroll to the very up to see the equation)

This fix resets the scroll position when you exit SHOW mimicking what the 50g's VIEW command does and what I expect to happen.

@jpcano jpcano changed the base branch from stable to dev December 20, 2025 22:04
@c3d c3d added bug Something isn't working user Reported by an actual user, yay! done Issues that are done on dev (will be in next release) labels Feb 10, 2026
Copy link
Copy Markdown
Owner

@c3d c3d left a comment

Choose a reason for hiding this comment

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

Merged on dev. Thanks for the fix, @jpcano. I also added you to the AUTHORS list.

@c3d c3d closed this Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working done Issues that are done on dev (will be in next release) user Reported by an actual user, yay!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants