Hi everyone,
I'm experiencing an issue with my Chrome extension's side panel and was hoping someone might be able to help.
Problem Description:
Event Listener Setup:
Expected Behavior: The storageChangedHandler function should execute when changes occur in chrome.storage.sync, causing the side panel to close.
Actual Behavior:
What I've Tried:
Questions:
Any insights or suggestions would be greatly appreciated!
Thank you in advance for your help!
I wanted to add some additional details to my previous message:
• Trigger for the Event:
• The chrome.storage.sync.onChanged event is fired when the user changes a setting for the extension.
• Event Listener Context:
• The event listener is running within the side panel code, which is built as a React application.
I wanted to provide an update on the issue I mentioned earlier regarding the side panel not receiving the chrome.storage.sync.onChanged event when it’s not visible.
New Observation:
What I Tried:
Result:
Additional Details from Our Investigation:
Questions: