-
Notifications
You must be signed in to change notification settings - Fork 738
StackAggregator - fix children update #2103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…a/StackAggregator_function
This reverts commit 283a0d8.
@Inbal-Tish |
Fixed |
const [firstItemHeight, setFirstItemHeight] = useState<number>(); | ||
const [isCollapsed, setIsCollapsed] = useState(collapsed); | ||
|
||
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't trigger a LayoutAnimation like that. It will be called in each render and will also affect everything on the screen, not just the stack aggregator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Description
StachAggregator - fix children update.
Moving to a functional component.
fix for issue #2048
Changelog
StachAggregator - fix children update.