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.
2 parents 1a9a965 + 7bec083 commit b5ff815Copy full SHA for b5ff815
redisinsight/ui/src/pages/workbench/components/wb-view/WBViewWrapper.tsx
@@ -245,10 +245,12 @@ const WBViewWrapper = () => {
245
}
246
247
const scrollResults = (inline: ScrollLogicalPosition = 'start') => {
248
- scrollIntoView(scrollDivRef?.current, {
249
- behavior: 'smooth',
250
- block: 'nearest',
251
- inline,
+ requestAnimationFrame(() => {
+ scrollIntoView(scrollDivRef?.current, {
+ behavior: 'smooth',
+ block: 'nearest',
252
+ inline,
253
+ })
254
})
255
256
0 commit comments