mdx-editor / mdx-editor/editor
Selection restoration does not work in Safari after toolbar operations
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 307
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 5
Description
Steps to reproduce -
- Go to demo page - https://mdxeditor.dev/editor/demo
- Place the cursor on any text
- Change the block style to (quote, heading1..2 etc)
- This will cause the page to scroll to bottom
Browser - Safari - Version 17.1 (19616.2.9.11.7)
OS - MacOS Sonoma 14.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on the demo page at https://mdxeditor.dev/editor/demo in Safari 17.1 on macOS Sonoma, following the listed toolbar-operation steps. Trace the selection restoration behavior during block-style changes; done means the cursor remains restored and the page does not scroll to the bottom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100