Skip to content
Snippets Groups Projects
Unverified Commit 4adfb052 authored by Todd Dembrey's avatar Todd Dembrey Committed by GitHub
Browse files

Merge pull request #1026 from OpenTechFund/fix/jump-to-submission

Fix/jump to submission
parents 8315e58c 631d181a
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ export default class GroupedListing extends React.Component {
// set css custom prop to allow scrolling from dropdown to last item in the list
if (this.listRef.current) {
document.documentElement.style.setProperty('--last-listing-item-height', this.listRef.current.firstChild.lastElementChild.offsetHeight + 'px');
document.documentElement.style.setProperty('--last-listing-item-height', this.listRef.current.lastElementChild.offsetHeight + 'px');
}
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment