ripe-action-67367
02/05/2023, 7:30 PMrefined-manchester-67193
02/05/2023, 7:30 PMrefined-manchester-67193
02/05/2023, 7:31 PMripe-action-67367
02/05/2023, 7:31 PMrefined-manchester-67193
02/05/2023, 7:32 PMrefined-manchester-67193
02/05/2023, 7:32 PMrefined-manchester-67193
02/05/2023, 7:33 PMripe-action-67367
02/05/2023, 7:34 PMripe-action-67367
02/05/2023, 7:34 PMrefined-manchester-67193
02/05/2023, 7:35 PMrefined-manchester-67193
02/05/2023, 7:36 PMripe-action-67367
02/05/2023, 7:37 PMrefined-manchester-67193
02/05/2023, 7:38 PMripe-action-67367
02/05/2023, 7:38 PMrefined-manchester-67193
02/05/2023, 7:39 PMrefined-manchester-67193
02/05/2023, 7:40 PMrefined-manchester-67193
02/05/2023, 7:40 PMsome-airline-73512
02/05/2023, 9:18 PM[Violation] 'click' handler took 672ms htmx.js:1318
Why is it so slow? The code is simple hx-post on table row. There are a lot of rows, though.some-airline-73512
02/05/2023, 9:23 PMhtmx:confirm
works immediately, but then htmx:configRequest
is called with delay ~700msrefined-manchester-67193
02/05/2023, 9:49 PMon load
add .opacity-0 to #start-719dc01d-f71a-430c-95d0-0e06ec520 wait for 2200ms then
remove #start-719c01d-f71a-430c-9590-0e06es520432 then add opacity-100 to me then remove .opacity-0 from me end
I’m 100% sure the start div with identifier is there. If I remove the remove
part it all works. But the element isn’t removed of course.mysterious-toddler-20573
02/05/2023, 10:06 PMrefined-manchester-67193
02/05/2023, 10:07 PMmysterious-toddler-20573
02/05/2023, 10:07 PMmysterious-toddler-20573
02/05/2023, 10:07 PMrefined-manchester-67193
02/05/2023, 10:09 PMprehistoric-garden-45720
02/06/2023, 2:03 AMhtml
<template>
<tr hx-swap-oob="afterbegin:#contacts-table">
<td>Joe Smith</td>
<td>joe@smith.com</td>
</tr>
</template>
<div id="test">
<p>Test AFTER swap</p>
</div>
and:
html
<template hx-swap-oob="afterbegin:#contacts-table">
<tr>
<td>Joe Smith</td>
<td>joe@smith.com</td>
</tr>
</template>
<div id="test">
<p>Test AFTER swap</p>
</div>
and neither give the expected result (they both differ from each other, and the result without the <template>
tag. Did I misunderstand your suggestion?mysterious-toddler-20573
02/06/2023, 2:06 AMmysterious-toddler-20573
02/06/2023, 2:06 AMlittle-kilobyte-16316
02/06/2023, 2:06 AM