Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

added preserveScroll and fixed sliders #45

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion js/InteractsWithQueryBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ export default {
if (this.$inertia) {
const query = this.queryBuilderString;

this.$inertia.get(location.pathname + `?${query}`, {}, { replace: true, preserveState: true });
this.$inertia.get(location.pathname + `?${query}`, {}, {
replace: true,
preserveState: true,
preserveScroll: true
});
}
},
},
Expand Down
2 changes: 1 addition & 1 deletion js/Tailwind2/TableColumns.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<span
aria-hidden="true"
:class="{'translate-x-5':column.enabled,'translate-x-0':!column.enabled }"
class="translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200"
class="inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200"
></span>
</button>
</li>
Expand Down