Skip to content

Commit

Permalink
fix height recalculation after expand/collapse of See more
Browse files Browse the repository at this point in the history
  • Loading branch information
Aprillion authored Jul 21, 2023
1 parent 4e22e84 commit e6eaa5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function App() {
}
// The AutoHeight component doesn't notice when a random <div> changes CSS class,
// so manually triggering toggle event (as if this was a <details> element).
dispatchEvent(new Event('toggle'))
document.dispatchEvent(new Event('toggle'))
}

const handleSpecialLinks = (e: MouseEvent) => {
Expand Down

0 comments on commit e6eaa5a

Please sign in to comment.