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