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

Add node_ref and id to Button component #43

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

micolous
Copy link
Contributor

@micolous micolous commented Sep 2, 2024

I'm attempting to implement tooltips and dropdown buttons (these are both in an old branch that I'm trying to bring up to date).

As a first step, both of these features need a NodeRef to the underlying <a> or <button> of the Button component they're attached to, in order to set up event handlers, ARIA attributes, and positioning the elements with popper-rs.

I've also added id here for completeness.

@isosphere isosphere merged commit 7c5447a into isosphere:main Sep 2, 2024
1 check passed
@isosphere
Copy link
Owner

Looks fine to me!

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.

2 participants