generated from alpine-collective/plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Using router for modals, where baseUrl template stays outside the x-route:
// Edit modal
<template hidden x-route="/edit/:id" x-handler="getItem" >
<div>
<?=$this->load('offers/edit')?>
</div>
</template>
// always loads, infinite scroll
<div x-data="items()">
<?=$this->load('offers/items')?>
</div>Checked versions. It works in 6.0.0, but it doesn't in >7.0.0. The problem is in infinite scroll - if I use x-route='/', base route reloads on navigate() and I'm losing the current progress. Can't change the logic, too many apps providing this UX.
rehhouari
Metadata
Metadata
Assignees
Labels
No labels