Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Editor: actions like undo on a post with embeds auto-scrolls the post when it shouldn't #12121
Steps to reproduce
What I expected
I expected undo to remove what I pasted without causing reflow or losing scroll and cursor position.
What happened instead
Undo lost my place. I had to scan and scroll to find where I was before undo.
Browser / OS version
Latest production versions of macOS and Chrome
Screenshot / Video
A video is available on this session note.
Context / Source
I experience #undo-reflow often in my sessions. I use undo often, particularly when accidentally pasting something with formatting intact when I meant to Shift+Cmd+z to paste and match style. Experiencing reflow and the loss of scroll and cursor position every time I undo makes for a #frustrated experience. After every undo, I have to scroll and scan my document to find where I left off, often losing my memory state and flow in the process. #scroll-scan-correlate