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

Add left-right panel scroll sync in markdown edit/preview mode #166

Merged

Conversation

devleejb
Copy link
Member

What this PR does / why we need it:

This PR implements a left-right panel scroll sync feature in markdown edit/preview mode. The purpose is to ensure that when scrolling in one panel, the other panel synchronizes to maintain a consistent view for the user.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Currently, when editing or previewing markdown text in CodePair, users need to manually adjust the scroll position in both the edit and preview panels. This can be inconvenient and disrupt the flow of reviewing or writing markdown content. By introducing the scroll sync feature, we aim to improve the user experience by automatically synchronizing the scroll positions of both panels.

Does this PR introduce a user-facing change?:

NONE

Additional documentation:


Checklist:

  • Added relevant tests or not required
  • Didn't break anything

@devleejb devleejb added the enhancement 🌟 New feature or request label Feb 26, 2024
@devleejb devleejb self-assigned this Feb 26, 2024
@devleejb devleejb linked an issue Feb 26, 2024 that may be closed by this pull request
@devleejb devleejb merged commit ec3bd75 into main Feb 26, 2024
2 checks passed
@devleejb devleejb deleted the 140-sync-vertical-scrolling-between-markdown-editor-and-viewer-2 branch February 26, 2024 15:54
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.

Sync vertical scrolling between Markdown editor and viewer
1 participant