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

[BUG] sidePanel example not working #1029

Open
2 of 3 tasks
NoureddinBakir opened this issue Jul 17, 2024 · 4 comments
Open
2 of 3 tasks

[BUG] sidePanel example not working #1029

NoureddinBakir opened this issue Jul 17, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@NoureddinBakir
Copy link

NoureddinBakir commented Jul 17, 2024

What happened?

Both following the sidePanel example and downloading the example result in a non-functional system. The project might be incomplete but as I'm just learning to work with plasmo, there is no way to figure out what is wrong.

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@NoureddinBakir NoureddinBakir added the bug Something isn't working label Jul 17, 2024
@mmlmike010
Copy link

+1

2 similar comments
@anirudhnair42
Copy link

+1

@selvanram
Copy link

+1

@angelottie
Copy link

angelottie commented Aug 21, 2024

Adding a background.ts file to the main folder with the following content should do the trick:

chrome.runtime.onInstalled.addListener(() => {
    chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true });
});

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

No branches or pull requests

5 participants