Skip to content

Conversation

@DaniGuardiola
Copy link
Member

Fixes #3768

@changeset-bot
Copy link

changeset-bot bot commented May 17, 2024

⚠️ No Changeset found

Latest commit: 162bc88

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@DaniGuardiola DaniGuardiola requested a review from diegohaz May 17, 2024 18:02
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 17, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@DaniGuardiola
Copy link
Member Author

@diegohaz any quick way to create a starter codesandbox using this PR's version?

@diegohaz
Copy link
Member

@diegohaz any quick way to create a starter codesandbox using this PR's version?

I'm not sure. It used to be generated automatically, but it stopped working suddenly a while ago.

Copy link
Member

@diegohaz diegohaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @DaniGuardiola!

The changes make sense and align with how other composite components are implemented. It would be nice to have a simple example of what you're trying to do on WordPress that triggered this issue.

@DaniGuardiola
Copy link
Member Author

Thanks @diegohaz, here's the example: https://stackblitz.com/edit/vitejs-vite-ihjzqp?file=src%2FApp.tsx

This should work with this PR's version.

@diegohaz
Copy link
Member

diegohaz commented May 20, 2024

Thanks @diegohaz, here's the example: https://stackblitz.com/edit/vitejs-vite-ihjzqp?file=src%2FApp.tsx

This should work with this PR's version.

Thanks! Would you mind turning that into an example with tests (without a readme.md file) for this PR?

@DaniGuardiola
Copy link
Member Author

@diegohaz of course, I actually already have that locally since I needed to test it, I just didn't push it haha. Didn't realize you were referring to that. I will push it in a bit.

@DaniGuardiola
Copy link
Member Author

@diegohaz pushed, let me know if the test is adequate. Here's a demo of it:

Kapture.2024-05-20.at.23.08.36.mp4

DaniGuardiola and others added 2 commits July 30, 2024 20:26
This PR changes the output of the `render` function of `@ariakit/test`
to return `rerender`. Previously, it returned the `unmount` function
directly, and now it returns an object with the shape `{ unmount,
rerender }`.

Context:
#3939 (comment)
@stale
Copy link

stale bot commented Apr 26, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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.

Composite: two-dimensional arrow navigation with MenuButtons

3 participants