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 313b5d5 commit 1118228Copy full SHA for 1118228
static/app/views/issueDetails/streamline/eventTitle.tsx
@@ -212,9 +212,12 @@ function EventNavigationLink({
212
}
213
214
setIsCollapsed(false);
215
- document
216
- .getElementById(config.key)
217
- ?.scrollIntoView({block: 'start', behavior: 'smooth'});
+ // Animation frame avoids conflicting with react-router ScrollRestoration
+ requestAnimationFrame(() => {
+ document
218
+ .getElementById(config.key)
219
+ ?.scrollIntoView({block: 'start', behavior: 'smooth'});
220
+ });
221
}}
222
borderless
223
size="xs"
0 commit comments