-
Notifications
You must be signed in to change notification settings - Fork 258
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
base: main
Are you sure you want to change the base?
Retention of scroll offset in emoji #1269
Conversation
…nnecessary changes
Hello @chrisbobbe , |
There was a problem hiding this 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() && |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Thanks @AshutoshKhadse23 for picking this up! We're now focusing more strictly on launch issues until the app's launch is ready, and this is a post-launch issue. I'll leave this PR as an exception where we'll proceed with it anyway, because it looks like it may be possible for the fix to be quite small. The next step will be for you to revise it to address each of @chrisbobbe's comments above. Then we can give it a new round of review. Because we're prioritizing launch issues, this PR may wait longer for review than others. If you're interested in contributing to Zulip, I recommend taking a look also at open issues in the upcoming milestones up through M5 Launch. |
The issue regarding retention of scroll offset in emoji is solve
Resolving issue #1175
issue.1175.mp4