14

When I try to edit an answer, the site freezes. This post for example: How to get images on HTML site to stay in position relative to background image as it scales across screen sizes?

Has anyone experienced this issue? I have two PCs. On both of them the issue is present, but they are strong, so they shouldn't be the reason.

the error shown

The Rich text mode has this issue. We can repro the issue by switching from Markdown mode/Markdown with preview mode.

  1. All my plugins are disabled.

  2. The log, which is only visible when I check the "Verbose" in the inspector's console:

[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
[Violation] 'setTimeout' handler took <N>ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 161ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 58ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 512ms
createjs.min.js:12 [Violation] 'setTimeout' handler took 218ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 337ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 569ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 2368ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 232ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 53ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 261ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 179ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 97ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 82ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 101ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 90ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 92ms
createjs.min.js:12 [Violation] 'setTimeout' handler took 84ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 111ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 82ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 88ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 110ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 85ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 115ms
stacks-editor.en.js?v=cfec1a9b4d6c:1 [Violation] 'setTimeout' handler took 96ms
  1. My browser is Edge. I just checked, and the browser's version was: 140.0.3485.94 (Official build) (64 bytes), I now updated it to 141.0.3537.57, but the error still happening.

  2. I also checked in Firefox, it was: 141.0.2, and now 143.0.4, but the error is still there....

  3. All extensions disabled.

  4. My operating system is Windows 11 Pro 24H2 with a i7-1065G7 CPU with 8 gigs of RAM. The other PC has an Intel Core Ultra 9 185H, with 32 gigs of RAM.

  5. The error happens right after I click on the Edit "button", then it immediately shows the editor grayed out, and the window is then unresponsive.

  6. It seems to happen with larger answers, like this one: https://stackoverflow.com/a/8331169/2817442. It may be the presence of the code...

  7. Another example: What's the best way to generate a UML diagram from Python source code? this: https://stackoverflow.com/a/7554457/2817442 CAN'T be edited, but https://stackoverflow.com/a/260323/2817442 can be, also, these CAN be edited: https://stackoverflow.com/a/260196/2817442
    https://stackoverflow.com/a/260183/2817442
    https://stackoverflow.com/a/261844/2817442
    https://stackoverflow.com/a/8445401/2817442
    https://stackoverflow.com/a/263606/2817442
    https://stackoverflow.com/a/260649/2817442
    https://stackoverflow.com/a/6606829/2817442

Edit:

My suspicion (that "It may be the presence of the code... ") got reinforcement from @Trajanos:

It only happens when the post contains code-block formatting...

6
  • 4
    I have a similar issue on my mac and tested with safari and chrome. Commented Oct 5 at 7:55
  • 3
    It only happens when the post contains code-block formatting (at least for me) Commented Oct 7 at 9:09
  • 3
    Just run into related problem - answer freezes when I try to add a code block. Commented Oct 8 at 3:12
  • @iorgu: Don't edit the title to indicate the problem has been resolved; instead, post an answer to that effect, and potentially flag the post asking the mods to add the [status-completed] tag. Commented yesterday
  • @V2Blast Thank you for stepping in. I’ll try to provide an answer based on the effect I observed, maybe tomorrow. Thank you. Commented yesterday
  • @V2Blast I posted an answer and also flagged my question for the attention of the mods. Thank you. Commented yesterday

2 Answers 2

11

The issue seems to be about the Rich Text Editor.

As a workaround, try this:

  • Edit another working answer
  • Set the editing mode from the top trailing of the editor to "markdown".
  • Then try editing the problematic post and it should work

The "Body" field in the editor has three options in the top right. The second two each have an "M" for "markdown". Red arrows labeled "works" have been drawn to both markdown buttons.

0
0

The problem has been resolved. I no longer experience the issue. Here's the demonstration: https://youtube.com/shorts/fv2JhABXKho

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.