Skip to content

Optional sticky headers#19

Merged
marcbouchenoire merged 4 commits intoliveblocks:mainfrom
Earthsplit:optional-sticky-headers
Jul 15, 2025
Merged

Optional sticky headers#19
marcbouchenoire merged 4 commits intoliveblocks:mainfrom
Earthsplit:optional-sticky-headers

Conversation

@Earthsplit
Copy link
Contributor

This PR adds an optional isSticky prop on EmojiPicker.Root to toggle the sticky behavior of category headers.

Closes #3

@marcbouchenoire
Copy link
Collaborator

Thanks for contributing!

I'd prefer to name the prop sticky to follow native props like disabled.
Could you also add tests in emoji-picker.test.browser.tsx to test the behaviors with sticky disabled?

@Earthsplit
Copy link
Contributor Author

I've renamed the prop and added the test. Should be fine now

@marcbouchenoire
Copy link
Collaborator

Thanks! I'll release v0.3 with this change later this week.

@marcbouchenoire marcbouchenoire merged commit c28ef0b into liveblocks:main Jul 15, 2025
4 of 5 checks passed
@marcbouchenoire
Copy link
Collaborator

Done!

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.

Allow category headers to not be sticky

2 participants

Comments