Composite: Restore Hover and Typeahead functionality#67212
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
| const store = ( props.store ?? context.store ) as Ariakit.CompositeStore; | ||
|
|
||
| return <Ariakit.CompositeGroup store={ store } { ...props } ref={ ref } />; | ||
| return <Ariakit.CompositeHover store={ store } { ...props } ref={ ref } />; |
Hover and Typeahead functionality
|
Flaky tests detected in 9a319a3. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11958943827
|
t-hamano
left a comment
There was a problem hiding this comment.
LGTM! I have confirmed that both the up and down keyboard navigation and type-ahead functions work correctly.
Before
before.mp4
After
after.mp4
|
I think this PR is worth backporting to 6.7.2, so I'm adding the "Backport to WP Minor Release" label. |
* Composite.Typeahead: Restore functionality * Add changelog * Resurrect CompositeHover * Update changelog Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org> Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org> Co-authored-by: Mayank-Tripathi32 <mayanktripathi32@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
|
Lol. Thank you for having my back 🙏 |
…7.2 (#67258) * Composite: Restore `Hover` and `Typeahead` functionality (#67212) * Composite.Typeahead: Restore functionality * Add changelog * Resurrect CompositeHover * Update changelog Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org> Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org> Co-authored-by: Mayank-Tripathi32 <mayanktripathi32@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> * Update changelog * Fix changelog --------- Co-authored-by: Lena Morita <lena@jaguchi.com> Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org> Co-authored-by: Mayank-Tripathi32 <mayanktripathi32@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: Aki Hamano <tetsuaki.hamano@gmail.com>
|
Removing |
Fixes #67152
What?
Restores functionality of
Composite.HoverandComposite.Typeahead.How?
Due to a copy paste error in #65821, Typeahead functionality was lost and replaced with a CompositeRow, as well as Hover with CompositeGroup 😄
Testing Instructions
See repro instructions in #67152.