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

Enable Auto Apply button state not syncing correctly #1

Closed
FahadBinHussain opened this issue Apr 18, 2023 · 2 comments · Fixed by #2
Closed

Enable Auto Apply button state not syncing correctly #1

FahadBinHussain opened this issue Apr 18, 2023 · 2 comments · Fixed by #2
Assignees
Labels
bug Something isn't working

Comments

@FahadBinHussain
Copy link
Collaborator

Enable Auto Apply is already enabled but after refreshing the webpage it shows Enable Auto Apply as disabled. Where it should show the button as disabled
image

@numanzamandipuu
Copy link
Owner

Thank you for bringing this issue to our attention. We apologize for any inconvenience caused.

After investigating, we can confirm that the functionality of auto apply is working correctly even though the button text is not updating correctly after a refresh.

When the button is initially enabled, it shows Disable Auto Apply as expected. But after refreshing the page, the button shows Enable Auto Apply, which is not expected even though the functionality of auto apply is still working correctly.

Then if we click the button 2nd time after refreshing, it shows Enable Auto Apply and disables the auto apply functionality. If the button is clicked again, it enables auto apply and shows Disable Auto Apply as expected.

The main problem here is after refreshing, the first time the button shows Enable Auto Apply when it should be Disable Auto Apply.

We understand that this can be confusing, and we apologize for any frustration caused. We encourage you to take a closer look at the code and solve this bug. We appreciate your patience and understanding.

@numanzamandipuu numanzamandipuu added the bug Something isn't working label Apr 18, 2023
@FahadBinHussain
Copy link
Collaborator Author

I think the base problem is with the popup window. Because that doesn't work too the next time the extension is clicked. Even when the page is not refreshed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants