We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0a32c commit 82cae96Copy full SHA for 82cae96
src/features/shared/DynamicDismissableModal.tsx
@@ -151,13 +151,8 @@ export function DynamicDismissableModal({
151
canDismiss={canDismiss ? canDismiss : onDismissAttemptCb}
152
onDidDismiss={() => {
153
setIsOpen(false);
154
+ setPresentingElement(undefined);
155
- // Attempt to fix https://github.com/aeharding/voyager/issues/2183
156
- requestAnimationFrame(() => {
157
158
- setPresentingElement(undefined);
159
- });
160
161
// in case onDidDismiss incorrectly called by Ionic, don't clear data
162
if (textRecovery && canDismissRef_.current) clearRecoveredText();
163
0 commit comments