add diagnostic logging to scrollIntoView
This commit is contained in:
parent
f30ebb5e11
commit
85a991428e
@ -88,6 +88,7 @@ const GalleryPage = ({ data }) => {
|
|||||||
if (!el) {
|
if (!el) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
console.log('scrolling into view', el);
|
||||||
el.scrollIntoView({
|
el.scrollIntoView({
|
||||||
block: "center",
|
block: "center",
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user