gravity-ui / uikit

https://gravity-ui.com
MIT License
516 stars 84 forks source link

fix(Flex,ListItemView): return ref drilling by React.forwardRef #1612

Closed IsaevAlexandr closed 1 month ago

IsaevAlexandr commented 1 month ago

returns missing ref in Flex component.

Previous pr https://github.com/gravity-ui/uikit/pull/1583 with attrs typings broke new useList Dnd working example cos react beautiful dnd can't pass ref into ListItemView node

I hope I won't have to wait long of React 19 release with auto ref passing during regular props

Better to look this pr with

image
gravity-ui-bot commented 1 month ago

Preview is ready.

gravity-ui-bot commented 1 month ago

Playwright Test Component is ready.