add diagnostic logging to scrollIntoView

This commit is contained in:
Chuck Dries 2022-07-10 19:23:22 -07:00
parent f30ebb5e11
commit 85a991428e
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -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",
}); });