Atmos4

Results 28 comments of Atmos4

Achieving this in pure CSS is from my experience very hard. Adding `visiblity:hidden` to closed modal styles would disable the closing transition. There is a new `transition-behavior` option for CSS...

@FraserChapman your explanation of home subtree is incorrect. With any node in the same Document, the home subtree with be that Document. In your example, it means all of those...

Let me try to explain: The term `subtree` is related to the [ShadowRoot](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot) API and [Element.attachShadow](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow). Those are linked to the wider topic of Web Components, but they can be...

> it looks like this might just have all been a waste of time Nothing is ever a waste of time 🙂 discussing a subject and fool-proofing ideas is not...

Why would you want to not swap inline? Can you provide more details about the use case you are trying to cover here? The reason I am asking is that...

I would suggest against reasoning with framework-specific logic. All you need to be concerned about is the HTML you render, because this is what will be swapped by HTMX. You...

Is my approach solving your problem though? Let me know if you need more help, but it sounds like what I described above is what you wanted to do! It...

> I didn't learn anything new from your hints I think you did learn something new :) otherwise you would not have: - closed your PR - reused my code...

> click to load This example isn't about OOB at all 🙈 instead you should check out [Updating other content](https://htmx.org/examples/update-other-content/) I took some time to make [a CodePen](https://codepen.io/atmos4/pen/bGZJBRe), hopefully it...

Instead of `beforeend:#toasts`, maybe you should just use `id=toasts hx-swap-oob=beforeend`. I have never tried using a selector, but this is maybe what is wrong with your code. Have you even...