This commit is contained in:
Dan Harrin
2025-01-22 10:13:15 +00:00
parent b2e37089d3
commit 3ce9c8e2e5
2 changed files with 4 additions and 3 deletions
@@ -89,7 +89,8 @@ export default (Alpine) => {
// Calling `el.getBoundingClientRect()` from outside `requestAnimationFrame()` can
// occasionally cause the page to scroll to the top.
requestAnimationFrame(() => {
const getTop = () => this.$el.getBoundingClientRect().top
const getTop = () =>
this.$el.getBoundingClientRect().top
const oldTop = getTop()
respond(() => {
@@ -105,7 +106,7 @@ export default (Alpine) => {
oldTop - getTop()
}px)`,
},
{transform: 'translateY(0px)'},
{ transform: 'translateY(0px)' },
],
{
duration: this.transitionDuration,
@@ -146,7 +146,7 @@ trait HasColumns
foreach ($this->getVisibleColumns() as $column) {
$columnGroup = $column->getGroup();
if (! $columnGroup) {
continue;
}