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: do not set anchor when using custom anchor #132

Conversation

formatlos
Copy link
Contributor

I'm trying to use HoverMenu with a custom anchor (set via anchorRef(popupState)). This doesn't work as the anchorEl gets reset internally at some point.
I do think that the anchorEl should never be set if using a custom anchor.

As a side-note: I cannot test things properly as I can't install dev-dependencies (some seem to be private)

@jedwards1211
Copy link
Member

Oh good catch, thanks!

@jedwards1211 jedwards1211 merged commit 3d9bdad into jcoreio:master Mar 28, 2024
@jedwards1211
Copy link
Member

Also thanks for letting me know about the dev deps, I'll get that sorted out

@jedwards1211
Copy link
Member

Okay seems like it was the @jcoreio/eslint-plugin-implicit-dependencies package I recently published

@jedwards1211
Copy link
Member

🎉 This PR is included in version 5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants