proud-librarian-99598
03/15/2022, 11:48 AMmysterious-toddler-20573
03/15/2022, 1:31 PMwhite-motorcycle-95262
03/15/2022, 1:39 PM<a
href="/publications/"
hx-vals='{"page": 5}'
hx-target="#list"
hx-swap="outerHTML scroll:window:top"
class="page-link"
aria-label="Next Posts">
→
</a>
on a boosted link aught to...scroll all the way to the top, right? It seems to be scrolling to the top minus the height of my navbar.
EDIT: Looks like using show:window:top works correctly, but's also scrolling to the top, I figured the show modifier just jumped to the topquiet-horse-45262
03/15/2022, 3:31 PMquiet-horse-45262
03/15/2022, 3:31 PM<div>
<h2>TEST GET</h2>
<form>
Random text: <input type="text" name="inputtext">
<button hx-get="{% url 'teste-get' %}" hx-target="#texto-alvo" hx-include="[name='inputtext']" name="botao-envio" type="submit">Enviar</button>
</form>
</div>
<div id="texto-alvo">
<p>Change this text.</p>
</div>faint-egg-43233
03/15/2022, 3:55 PMquiet-horse-45262
03/15/2022, 4:16 PMfaint-salesmen-35002
03/15/2022, 6:18 PMmysterious-toddler-20573
03/15/2022, 6:35 PMmysterious-toddler-20573
03/15/2022, 6:36 PMmysterious-toddler-20573
03/15/2022, 6:36 PMfaint-salesmen-35002
03/15/2022, 6:37 PMfaint-egg-43233
03/15/2022, 6:50 PMmysterious-toddler-20573
03/15/2022, 7:08 PMmysterious-toddler-20573
03/15/2022, 7:08 PMmysterious-toddler-20573
03/15/2022, 7:09 PMadamant-exabyte-92636
03/15/2022, 7:13 PMadamant-exabyte-92636
03/15/2022, 7:14 PMfaint-egg-43233
03/15/2022, 7:16 PMfaint-egg-43233
03/15/2022, 7:19 PMmysterious-toddler-20573
03/15/2022, 7:25 PMgorgeous-airport-54386
03/15/2022, 7:31 PMmysterious-toddler-20573
03/15/2022, 7:54 PMgreen-flower-49070
03/15/2022, 7:58 PMgorgeous-ghost-95789
03/15/2022, 8:40 PMhundreds-camera-24900
03/15/2022, 8:56 PMhundreds-camera-24900
03/15/2022, 8:56 PMmost-activity-91725
03/15/2022, 9:27 PMbrave-magazine-28098
03/16/2022, 12:14 AMhtml
<select :id="$id('select-payee')"
name="payee"
autocomplete="off"
x-init="new TomSelect($el, {create: true, selectOnTab: true, maxItems: 1, onOptionAdd: (value, data) => { $dispatch('optionAdded') }});"
hx-target="this"
hx-trigger="optionAdded delay:50ms"
hx-params="payee"
hx-post="{% url 'add_payee' %}"
>
{% include 'partials/_payee_select.html' %}
</select>