Skip to main content

Unanswered Questions

145 questions with no upvoted or accepted answers
8 votes
0 answers
72 views

Can we add support for React 16.8 (or latest) in Stack Snippets?

Currently Stack Snippets supports up to 16.6.3. It will be great to add the support for 16.8 as this is a major release because of React hooks support. Now the alternative is each time manually add ...
8 votes
0 answers
83 views

Make the Question Draft suggestions (requirements) more direct

Recently I have been seeing many new questions abide by the first list item in Step 1: Draft your question, however those questions also fail horribly at the second two list items. While unfortunate, ...
8 votes
0 answers
148 views

Snippet controls appear twice after completing a review

TL;DR: Reproduction steps: Find a post with a pending suggested edit to add a snippet; in my case, I handled the review from the "edit (1)" link rather than through /review. Switch to "rendered ...
8 votes
0 answers
267 views

I cannot edit snippet when improving edits

As said in the title, when I find a pending edit and I try to improve it I cannot edit the snippet inside: I don't know if it was always the case but I am pretty sure I was able to do this before....
8 votes
0 answers
217 views

Why can't I "Full page" a js/html/css snippet in a new tab?

At the bottom of javascript/html/css code snippets, when clicking Full page, the current page is simply replaced with the full screen result of the snippet; and no way to get back to the post. ...
8 votes
0 answers
294 views

Snippet console logging JavaScript exception as empty object when using .log

When a JavaScript exception is caught in a snippet and the exception is output using console.log, it appears as an empty object. Example: try { let foo = null; foo.bar; } catch(exception) ...
8 votes
0 answers
90 views

In the revision view the code snippet runs old code

In case someone posts a bad snippet and he or someone else fixes the code, the snippet runner in the revision view will play the old code. Basically it will run the red and stroked code anyway. This ...
7 votes
0 answers
89 views

Stack snippets external file validation needs to be fixed

I went to edit a question that was linking to Google Fonts with http://fonts.googleapis.com/css?family=Poppins:400,300,500,600,700 and when clicking the "Add an external library" the snippet ...
7 votes
0 answers
285 views

Using CKEditor in a code snippet results in an error

Was trying to write a snippet to demonstrate something with ckeditor today and encountered this message: { "message": "SecurityError: Permission denied to access property \"document\" on cross-...
7 votes
0 answers
167 views

Correct Line Numbers for error messages in snippets

I try to write a working snippet in as many answers as possible. I find one of the hardest parts is tracking down bugs because the console messages show line numbers that don't match the snippet ...
7 votes
0 answers
59 views

Stack snippet indentation - preview differs from result

Today I encountered a code snippet whose preview renders fine during editing but with unwanted indentation after submitting: arr1 = [{ Title: "xXx: Return of Xander Cage", ...
7 votes
0 answers
58 views

Add Stack Snippet (Code Snippet) Documentation to Help Center and/or Editing Help

I saw the new code snippet feature on the site and wanted to create one in an answer, but didn't see how. I expected to find the answer in the Editing Help, but didn't, so I went to the Help Center ...
7 votes
1 answer
161 views

Error in Stack Snippets console has incorrect lineno and colno

When there is an error in the JavaScript code in a Stack Snippet: asoidf I find the error message quite unhelpful. Error: { "message": "ReferenceError: asoidf is not defined", "...
6 votes
0 answers
68 views

Moderator Redaction flags does not display collapsed code snippets

The moderator redaction tool does not display the redacted diff if the redacted bit was in a collapsed code snippet, so we cannot see what was redacted for approval. There aren't any buttons to expand ...
6 votes
0 answers
51 views

"Show code snippet" underline looks buggy

The link shows broken underline in some zoom levels. Post taken from this answer and I am using Firefox 79.0.

15 30 50 per page
1 2 3
4
5
10