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

Plugin causes glitch deleting text #29

Closed oldjove closed 1 year ago

oldjove commented 1 year ago

Just trying out the plugin, which seems really great. However, as soon as I enabled it, I began experiencing a strange glitch when using the backspace or delete keys to delete text in a note in which letters are sometimes undeleted. It seems quite erratic -- not sure what the pattern it. Seems it only happens when I hit the key rapidly. If I slowly hit the delete or backspace, everything works as it should. Disabling the plugin removes the problem. I'm using Obsidian 1.0 on Windows 10.

jensmtg commented 1 year ago

This looks like a duplicate of #8, at least in that the underlaying problem seems to relate to the way codemirror handles widgets. It's out of my hands to handle this directly, but I guess there could be made a workaround that temporary disables influx when editing a note, and reinserts it after editing is done. I'll consider looking into this at some point. For now, I think the best workaround may be to disable live-preview of the influx component.

oldjove commented 1 year ago

I see. I'm note sure if you meant I should turn off Influx's "live update" setting. I will try working with this and see if it helps any. Thanks.

jensmtg commented 1 year ago

Duplicate of #40