Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$=dv.span(dv.current()) freezes vault if there is a bullet #1770

Open
ooker777 opened this issue Jan 23, 2023 · 2 comments
Open

$=dv.span(dv.current()) freezes vault if there is a bullet #1770

ooker777 opened this issue Jan 23, 2023 · 2 comments
Assignees
Labels
bug Something isn't working.

Comments

@ooker777
Copy link
Contributor

ooker777 commented Jan 23, 2023

I install Dataview on the sandbox vault. Before I add a bullet it works fine. After that it freezes the vault.

Dataview 0.5.55
Obsidian 1.1.9
Windows 11

@ooker777 ooker777 added the bug Something isn't working. label Jan 23, 2023
@holroy
Copy link
Contributor

holroy commented Jan 28, 2023

Hmm... When you add a bullet you create a list, which is to be listed by the dv.current(). This seems to cause an issue, indeed.

Confirmed this is happening with obsidian 1.19, installer 1.0.0, and Dataview 0.5.55. MacOS Mojave 10.14.6

  • Inserted `$= dv.span(dv.current())` in a note. Entered reading view OK, back to editing
  • Inserted * in front of it, entered reading view OK, back to editing
  • Hit Enter, went up a line and typed hi, locks up when entering reading view again

In other words, can't enter reading view when this in the note:

* hi
* `$= dv.span(dv.current())`

@xDovos
Copy link

xDovos commented Mar 5, 2023

  • hi
  • $= dv.span(dv.current())

the reason why this freezes the vault is because it is an endless loop. that means the renderer freezes because it isn't able to render it. and if the renderer freezes nothing in obsidian works anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

4 participants