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] PermissionViewer: Role context menu in modal is not consistent with out of modal #3167

Open
2 tasks done
sadan4 opened this issue Jan 27, 2025 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@sadan4
Copy link
Contributor

sadan4 commented Jan 27, 2025

Discord Account

sadan

What happens when the bug or crash occurs?

the context menu does not have the expected items

What is the expected behaviour?

the context menu to have the expected items

How do you recreate this bug or crash?

  1. open modal
  2. right click role
  3. notice items missing

Errors

N/A

Image

Image

Request Agreement

  • I am using Discord Stable or tried on Stable and this bug happens there as well
  • I have read the requirements for opening an issue above
@sadan4 sadan4 added the bug Something isn't working label Jan 27, 2025
@Vendicated
Copy link
Owner

those options are added by other plugins that patch the dev-context menu (yes that's the id of that role context menu)

@sadan4
Copy link
Contributor Author

sadan4 commented Jan 27, 2025

those options are added by other plugins that patch the dev-context menu (yes that's the id of that role context menu)

yea, I'm aware.

wonder if there's any way to imitate the dev-context menu from the modal

@Vendicated
Copy link
Owner

you can give it the dev-context id and make sure you pass the same props to it (mainly id prop) and it should automatically be patched

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

2 participants