8

When you use the "Copy snippet to answer" functionality on a code snippet and click the "Run code snippet" while still in edit mode, the answer textarea gets focus and the page is scrolled up to it instead of showing your result.

This is quite annoying when you want to keep testing your results while modifying your answer, and it seems like a bug to me.

Reproduce:

  1. Go to a question with a code snippet
  2. Click "Copy snippet to answer"
  3. Click "Run code snippet" in your answer preview

You are now seeing your editor, not your snippet result

3

0

Browse other questions tagged .