Skip to content

Commit bbfb431

Browse files
committed
comment: Remove a comment, having learned that requestAnimationFrame() is correct
1 parent 1448dc3 commit bbfb431

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Renderer/QueryRenderer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ class QueryRenderChild extends MarkdownRenderChild {
264264
requestAnimationFrame(async () => {
265265
// We have to wrap the rendering inside requestAnimationFrame() to ensure
266266
// that we get correct values for isConnected and isShown().
267-
// (setTimeout(, 0) seemed to work too...)
268267
if (!this.containerEl.isConnected) {
269268
// Example reasons why we might not be "connected":
270269
// - This Tasks query block is contained within another plugin's code block,

0 commit comments

Comments
 (0)