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

fix context-menu #246

Closed
skalimer0 opened this issue Feb 17, 2022 · 1 comment
Closed

fix context-menu #246

skalimer0 opened this issue Feb 17, 2022 · 1 comment

Comments

@skalimer0
Copy link

skalimer0 commented Feb 17, 2022

Hello,

On Firefox the context-menu is not attach on mouse position.

You fix this on SidebarToogle.js :

// Fix issue with context menu position if (this.$main.css('position') === 'relative') { $(window).on('load', function () { $('#context-menu').appendTo('#wrapper3') }) }

It's OK on Chrome, but i think for Firefox it need to be on 'ready' event not 'load' or add detach() method before appendTo() :
$('#context-menu').detach().appendTo('#wrapper3')

Thanks

gagnieray added a commit to gagnieray/PurpleMine2 that referenced this issue Mar 21, 2023
gagnieray added a commit to gagnieray/PurpleMine2 that referenced this issue Mar 23, 2023
@mrliptontea
Copy link
Owner

Fixed by #262

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

No branches or pull requests

2 participants