-
Notifications
You must be signed in to change notification settings - Fork 22
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
Quick bar loses selection #3132
Comments
The logic to preserve the selection is managed by KBarToggle:
Does/should pixiebrix-extension/src/components/quickBar/QuickBarApp.tsx Lines 100 to 105 in fd14c10
|
Good catch, @fregante. I think that's worth a try. If that's the case, the buggy behavior should occur reliably on pages that PixieBrix does not have access to until the user toggles the KBar with the keyboard shortcut |
I can't replicate the issue: Screen.Recording.3.movYou can see that the content script doesn't load until I press cmd-k because that's when the (unrelated) "Action" button appears. However I'm seeing some strange behavior when the editor is open:
Screen.Recording.5.mov
I checked now: The selection controller is called even by the auto show. The only incorrect behavior is that it always calls pixiebrix-extension/src/utils/selectionController.ts Lines 58 to 61 in fd14c10
|
It's somewhat possible that this is entirely caused by The selection is saved into memory so if the second |
Closing as resolved as this was likely a consequence of multiple kbar injections. Reopen if needed |
Steps to reproduce (to verify)
Possible causes:
cc @MMirandi - I think you were seeing this?
The text was updated successfully, but these errors were encountered: