Skip to content

Conversation

@andy-hook
Copy link
Contributor

@andy-hook andy-hook commented Apr 27, 2022

closes #860

Very similar to our approach for Collapsible with a couple of modifications (we don't need to measure in this case). I assume we have historic / a11y reasons for controlling render of children rather than on wrapping element, hence my use of the render prop in this instance.

@andy-hook andy-hook marked this pull request as ready for review April 27, 2022 17:09
@benoitgrelard
Copy link
Contributor

The chromatic diff is weird:
CleanShot 2022-05-20 at 14 34 02@2x

First time I ever see everything moved a tiny bit, there must be a reason 🤔

@andy-hook
Copy link
Contributor Author

First time I ever see everything moved a tiny bit, there must be a reason

I'll check it out, this branch is quite a bit behind now so needs a refresh anyway

@benoitgrelard benoitgrelard merged commit 63388fd into main May 20, 2022
@benoitgrelard benoitgrelard deleted the tabs-presence branch May 20, 2022 13:57
luisorbaiceta pushed a commit to luisorbaiceta/primitives that referenced this pull request Jul 21, 2022
* Add presence to tabs

* Versions

* Add deps

* Move story style dec

* Simplify animation prevention

* Story code style
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.

[Tabs] Add Presence to TabContent to support unmount animation

3 participants