-
Notifications
You must be signed in to change notification settings - Fork 85
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
Plugin automatically selects first item from library #15
Comments
I'm also seeing this issue. OS: MacOS 11.1 No errors in the console, although the active leaf appears to be printed. |
Hi both, thanks for the report! Can you please confirm you're on the latest version of the plugin (0.3.0) ? |
Yes. This is on 0.3.0. |
I'm also getting this issue on the latest version! |
Just to confirm, it's latest version (0.3.0). |
Hmm, I can't reproduce this bug, even with the same Obsidian version and plugin version. Would one of you be willing to share your citation library export? |
I'd be happy to provide an exported JSON file. I see the problem with my full library which is about 900 items but also with a smaller subset. |
Here's a smaller subset of my library where I have the same issue. https://filebin.net/a89izm7wwvd4t8qm Thanks! |
I'm still failing to reproduce this even with your citation libraries, but I'll try again on a totally clean VM install and keep you posted. |
This issue appears to be this event handler obsidian-citation-plugin/src/modals.ts Line 24 in 7ae7513
I think that when calling these functions from the command palette, the event handler is getting the key up of the command submission and immediately submitting the modal. This aligns with the fact that things work fine if I use the assigned hotkeys instead of calling from the command palette. Edit: |
@raineszm Thanks a lot for tracking this down. I realize just now that I didn't understand the problem in the first place — I was taking "run command" to mean "run the command via hotkey." This should be an easy fix -- I'll fix this later today. |
…iously to launch modal don't get intercepted. Fixes #15.
Fixed & will be shipped with the next release, coming very soon. Thanks everyone for pitching in :) |
Reference selection/picker menu does not appear after I either run "Insert citation" or "Open literature note" command.
It automatically chooses the first Zotero item in my JSON file and inserts link or open new literature note.
OS: Ubuntu 20.04
Obsidian: v0.9.22 (deb installer)
Previously (and in previous vault) I used snap version of Obsidian and Citation plugin and selection menu did appear, but nothing happened afterwards. Then I removed the snap version, installed deb and created a new vault.
The text was updated successfully, but these errors were encountered: