I styled the autocomplete to have margin around the list items. Normally with browser scrollIntoView, you can align the scroll with scrollMargin so the margin isn’t cutoff.
But with the custom scrollIntoView implementation, it doesn’t account for that. I would also want smoothScrolling as an option.