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

Incorrect context menu position #187

Open
romikforest opened this issue Apr 14, 2023 · 0 comments
Open

Incorrect context menu position #187

romikforest opened this issue Apr 14, 2023 · 0 comments

Comments

@romikforest
Copy link

Chonky calculates the context menu position incorrectly if it is placed inside components that use css transform.

(For elements whose layout is governed by the CSS box model, any value other than none for the transform property also causes the element to establish a containing block for all descendants. Its padding box will be used to layout for all of its absolute-position descendants, fixed-position descendants, and descendant fixed background attachments.)

I tried to override the built in OpenFileContextMenu definition to adjust the position as said in the documentation (These are the file actions Chonky requires to function correctly. They are always enabled, and there is no way to disable them. If you know what you are doing, you can override an essential file action by defining a custom file action with the same action ID.). But I don't see any reaction on adding Custom action with ChonkyActions.OpenFileContextMenu.id. The built in one keep triggering.

Is there way to fix this bug or at least allow to adjust OpenFileContextMenu action?

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

1 participant