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 Popup Panel Interaction over JEI Elements #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghzdude
Copy link
Contributor

@ghzdude ghzdude commented Dec 30, 2024

since #64, interaction with popup panels (clicking, scrolling, etc) is impossible. Input priority was set to LOW which is after JEI (NORMAL), making JEI consume the inputs and cancelling the event before mui2 can handle them. this pr sets mui2's input listeners to HIGH, so they run before JEI. i've not observed any immediate issues, but i also didn't spend that much time testing.

It might also be possible to mixin into JEI to prevent cancelling the event when inside an excluded area.
or perhaps only manage popup panels at HIGH priority.

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

Successfully merging this pull request may close these issues.

1 participant