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] shadcn/ui Select component not working in Firefox build #1193

Open
2 of 3 tasks
matinsekhavat opened this issue Feb 16, 2025 · 6 comments
Open
2 of 3 tasks

[BUG] shadcn/ui Select component not working in Firefox build #1193

matinsekhavat opened this issue Feb 16, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@matinsekhavat
Copy link

What happened?

The shadcn/ui Select component works correctly in Chrome but fails to function in Firefox.

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Firefox

Relevant log output

(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.
@matinsekhavat matinsekhavat added the bug Something isn't working label Feb 16, 2025
@matinsekhavat
Copy link
Author

Can be reproduced using the Fontara repository:

@BalutaAlex
Copy link
Contributor

Hi! Could you provide some extra information about what is the issue?

@matinsekhavat
Copy link
Author

matinsekhavat commented Feb 17, 2025

The Select component from shadcn/ui is not responding to click events. When clicking on the select field, the dropdown menu doesn't appear and there's no visual feedback. This component is responsible for displaying and selecting font options in our extension and this also happened when i make a build in develop or prod of firefox v3

@BalutaAlex
Copy link
Contributor

The Select component from shadcn/ui is not responding to click events. When clicking on the select field, the dropdown menu doesn't appear and there's no visual feedback. This component is responsible for displaying and selecting font options in our extension and this also happened when i make a build in develop or prod of firefox v3

Thanks for the response. Can you please verify that the Select component behaves correctly in Firefox (outside of Plasmo scope)? We need to identify if the problem is related to Plasmo or to the Select component itself, in which case this might not be the right place.

@matinsekhavat
Copy link
Author

matinsekhavat commented Feb 19, 2025

Hello again, I checked that there is no problem in a base React and Next.js app while using the shadcn Select component in Firefox. I only see this issue in Plasmo's Firefox Manifest V3 extension.

@jeffminim
Copy link

Hello again, I checked that there is no problem in a base React and Next.js app while using the shadcn Select component in Firefox. I only see this issue in Plasmo's Firefox Manifest V3 extension.

Not only in Plasmo's Firefox Manifest V3, but also V2, for the popup.
Encountering the same problem, that led me to give up adapting firefox for the time being

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

3 participants