mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix(app): prevent duplicate web menu actions
This commit is contained in:
@@ -218,12 +218,16 @@ function renderDropdownSurface(input: {
|
|||||||
style={surfaceStyle}
|
style={surfaceStyle}
|
||||||
frameStyle={frameStyle}
|
frameStyle={frameStyle}
|
||||||
entering={contentEntering}
|
entering={contentEntering}
|
||||||
exiting={contentExiting.withCallback((finished) => {
|
exiting={
|
||||||
"worklet";
|
isWeb
|
||||||
if (finished) {
|
? undefined
|
||||||
runOnJS(onExited)();
|
: contentExiting.withCallback((finished) => {
|
||||||
}
|
"worklet";
|
||||||
})}
|
if (finished) {
|
||||||
|
runOnJS(onExited)();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{body}
|
{body}
|
||||||
</FloatingSurface>
|
</FloatingSurface>
|
||||||
|
|||||||
Reference in New Issue
Block a user