mirror of
https://github.com/standardnotes/mobile.git
synced 2026-05-19 12:04:31 -04:00
fix: expandable section collapsing when re-pressing
This commit is contained in:
@@ -320,6 +320,7 @@ export const BottomSheet: React.FC<Props> = ({
|
||||
if (expanded) {
|
||||
animationValue = shouldCollapseSections ? 0 : 1;
|
||||
}
|
||||
setShouldCollapseSections(false);
|
||||
return {
|
||||
...section,
|
||||
animationValue: new Animated.Value(animationValue),
|
||||
|
||||
Reference in New Issue
Block a user