Mark Croxton

Results 70 comments of Mark Croxton

`replaceState()` won't create an entry, it just modifies the entry at the top of the stack (the current page). I think of it like a `git commit --amend` but for...

Couple of updates, which came from trying out this change on two more projects. First, the point at which the current page is cached I changed back to on response...

The main reason this change wasn't passing the `hx-push-url` automated tests was that history is set to disabled in the meta tag of the test index page: ```html ``` I'm...

I fixed `HX-Location` to work with the revised history state management.

Hey no problem at all. Those separate PRs are ready for review: #1112 and #1113

You can use the `htmx:afterSwap` event which happens before the the new content is 'settled'. Your js would in any case very likely need to access the html actually in...

As far as I can tell base64 is fine so long as it's a gif, but that code generates an SVG and that's what is causing picturefill to choke. This...

@roberthallatt I'm running the latest EE 7 and PHP 8.1.10, but can't reproduce any errors. Can you isolate the template code that throws an error?

You just need to swap the **outerHTML** of `#main` in the response into the `#main` in the requesting page. Like this: ``` ```

These should be fixed now, please start a new issue if you find any more. https://github.com/croxton/Stash/archive/refs/heads/master.zip