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

Retention of scroll offset in emoji #1269

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AshutoshKhadse23
Copy link

The issue regarding retention of scroll offset in emoji is solve
Resolving issue #1175

issue.1175.mp4

@AshutoshKhadse23
Copy link
Author

Hello @chrisbobbe ,
Now it have only changes made to solve the issue ,you can review it.

Copy link
Collaborator

@chrisbobbe chrisbobbe left a comment

Choose a reason for hiding this comment

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

Thanks! Small comments from a quick review; also, please change the commit message to match the project style.

_viewModel!.query = newQuery;
// Reset scroll when query content changes
if (oldQuery.toString() != newQuery.toString() &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the output of toString?

How about using .raw instead.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, this logic needs tests.

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