fix(app): prevent duplicate web menu actions

This commit is contained in:
Mohamed Boudra
2026-07-21 14:04:26 +02:00
parent 6acc82e9d3
commit fd4e13735c
@@ -218,12 +218,16 @@ function renderDropdownSurface(input: {
style={surfaceStyle} style={surfaceStyle}
frameStyle={frameStyle} frameStyle={frameStyle}
entering={contentEntering} entering={contentEntering}
exiting={contentExiting.withCallback((finished) => { exiting={
isWeb
? undefined
: contentExiting.withCallback((finished) => {
"worklet"; "worklet";
if (finished) { if (finished) {
runOnJS(onExited)(); runOnJS(onExited)();
} }
})} })
}
> >
{body} {body}
</FloatingSurface> </FloatingSurface>