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

Fix multiple categories search bars #3447

Conversation

OlegWock
Copy link
Contributor

@OlegWock OlegWock commented May 1, 2024

GitHub Issue (if applicable): #3445 #3444

Explanation of Bugfix/Feature/Modification:
It turned out, toolkit script might be injected multiple times in the page. Not sure why and how, but for me it happened only first time I open YNAB after installing the extension. And this apparently messed up with some features, as debouncing didn't work as expected. I added simple check to ensure toolkit isn't initiated second time

Copy link
Member

@joshmadewell joshmadewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, that's weird that you saw multiple get init - did you maybe have a dev copy and production copy running at the same time?

src/core/content-scripts/extension-bridge.js Outdated Show resolved Hide resolved
src/core/content-scripts/extension-bridge.js Outdated Show resolved Hide resolved
@joshmadewell joshmadewell merged commit 8817b4f into toolkit-for-ynab:main May 1, 2024
6 checks passed
HelloThisIsFlo pushed a commit to HelloThisIsFlo/toolkit-for-ynab that referenced this pull request May 6, 2024
* Fix pacing feature

* Fix 'Search categories' input appearing multiple times

* Address comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants