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

Issues with right-click on block #3905

Open
pikurasa opened this issue Jun 14, 2024 · 11 comments
Open

Issues with right-click on block #3905

pikurasa opened this issue Jun 14, 2024 · 11 comments

Comments

@pikurasa
Copy link
Collaborator

Right now, on https://musicblocks.sugarlabs.org/, if you right-click on a block you get two menus. You should only get one.

Screenshot from 2024-06-14 17-33-36

@walterbender
Copy link
Member

I briefly see the larger menu but it goes away when the smaller menu appears. What browser are you using?

@apsinghdev
Copy link
Member

Probably, The reason for this problem is conflicting event listeners. I guess there is a code that checks whether the right-click event triggered on block area or non-block area and that check is failing in this case.

@pikurasa
Copy link
Collaborator Author

I briefly see the larger menu but it goes away when the smaller menu appears. What browser are you using?

Version 120.0.6099.224 (Official Build) built on Debian 11.8, running on Debian 11.7 (64-bit)

@akshayw1
Copy link

@pikurasa , Is it resolved, Should I take to this work on?

@haroon10725
Copy link
Contributor

@akshayw1 Yes I am working on it.

@apsinghdev
Copy link
Member

@pikurasa , Is it resolved, Should I take to this work on?

You don't need to ask for permission. If the issue is not resolved you can raise a PR.

@haroon10725
Copy link
Contributor

@apsinghdev I am working on it.

@apsinghdev
Copy link
Member

@apsinghdev I am working on it.

Great, it's good to hear that you are working on it. I am just letting him know the flow we use.

@nilaygit-10721
Copy link

anyone working on this?

@pikurasa
Copy link
Collaborator Author

pikurasa commented Nov 9, 2024

anyone working on this?

Please test it first. IRRC it may have been fixed...

@MostlyKIGuess
Copy link
Contributor

MostlyKIGuess commented Dec 7, 2024

I briefly see the larger menu but it goes away when the smaller menu appears. What browser are you using?

haha this doesn't happeen locally for me actually, I am trying to fix this by adding a separate case of just not rendering the bigger menu, feel like that would be better.

Edit 1 : I have added some code, if someone is able to reproduce the issue, would they like to check the code and see if it works or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants