jensmtg / influx

An alternative backlinks plugin, which displays relevant and formatted excerpts from notes with linked mentions, based on the position of mentions in the notes' hierarchical structure (bullet level indentation).
MIT License
310 stars 14 forks source link

Linked mentions flicker while typing in file #59

Closed sersorrel closed 1 year ago

sersorrel commented 1 year ago

Describe the bug While I'm typing in a file, the influx linked mentions section at the bottom occasionally flickers out of existence for a moment.

To Reproduce Steps to reproduce the behavior:

  1. Install Influx
  2. In a note where "Linked mentions (influx)" appears, type some text (seems to happen most often when starting a new paragraph, but it's not super consistent)
  3. Notice that the "Linked mentions (influx)" section occasionally flashes out of existence for a second

Expected behavior The linked mentions section should not flicker in and out of existence. (Obviously if there are changes then they need to appear, but ideally they would just appear immediately without the few hundred milliseconds of the section not existing at all, and if the changes are to the document the links appear in (as opposed to documents that link to it), it seems like the section shouldn't need updating at all)

Desktop (please complete the following information):

Additional context Turning "live update" off doesn't seem to affect anything about the flickering.

jensmtg commented 1 year ago

Duplicate of https://github.com/jensmtg/influx/issues/40. Should be solved now, as described in that thread.