https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • m

    mysterious-toddler-20573

    10/04/2020, 4:01 PM
    @User ☝️ support for
    HX-Trigger-After-
    stuff
  • m

    mysterious-toddler-20573

    10/04/2020, 4:02 PM
    @User I'm having to write an awful lot of javascript to avoid writing javascript 😉
  • m

    mysterious-toddler-20573

    10/04/2020, 4:03 PM
    @User believe it or not, sticking the cursor at the front of the text input is the default behavior of
    autoselect
    so htmx is following it
  • m

    mysterious-toddler-20573

    10/04/2020, 4:03 PM
    I don't like that one bit so I'm looking at what I can do
  • m

    mysterious-toddler-20573

    10/04/2020, 4:03 PM
    I don't want to add an attribute for this, but I also kinda don't want to behave differently than normal html
  • m

    mysterious-toddler-20573

    10/04/2020, 4:03 PM
    :/
  • m

    most-jelly-15242

    10/04/2020, 4:09 PM
    Quite the conundrum!
  • m

    most-jelly-15242

    10/04/2020, 4:09 PM
    Btw, did you see this issue? https://codepen.io/jreviews/pen/wvGVrxR
  • g

    gorgeous-ghost-95789

    10/04/2020, 4:16 PM
    Quick question about example code: what site generator are you using for the HTMX site? I’m having trouble knowing if my examples will work or not.
  • m

    mysterious-toddler-20573

    10/04/2020, 4:43 PM
    eleventy
  • m

    mysterious-toddler-20573

    10/04/2020, 4:43 PM
    https://www.11ty.dev/
  • g

    gorgeous-ghost-95789

    10/04/2020, 4:43 PM
    Great. Thanks. I’ll use that to test my work
  • m

    mysterious-toddler-20573

    10/04/2020, 4:43 PM
    Not a huge fan, but it works well w/ the website hosting service
  • m

    mysterious-toddler-20573

    10/04/2020, 4:44 PM
    I run the tests locally with WebStorm, right click on the file and open in browser, it will start a web server for you with the proper setup
  • g

    gorgeous-ghost-95789

    10/04/2020, 4:44 PM
    Really? Eleventy is on version 0.11.0? What are the odds of that?
  • m

    mysterious-toddler-20573

    10/04/2020, 4:45 PM
    @User looks like it is being triggered on both the old and new content:
  • m

    mysterious-toddler-20573

    10/04/2020, 4:45 PM
    not sure if bug or feature
  • m

    most-jelly-15242

    10/04/2020, 4:50 PM
    @User It doesn't happen here https://codepen.io/jreviews/pen/OJNKxKq
  • m

    mysterious-toddler-20573

    10/04/2020, 4:51 PM
    is likely bug then mmmm
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    the swap outer logic is a little insane
  • m

    most-jelly-15242

    10/04/2020, 4:52 PM
    The difference is the extra line break in the response.
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    I'll need to reproduce and figure it out
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    lol
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    line break
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    write an open source web project they said
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    it'll be great, they said
  • m

    mysterious-toddler-20573

    10/04/2020, 4:52 PM
    AHAHAHAHA
  • m

    most-jelly-15242

    10/04/2020, 4:52 PM
    😂
  • m

    mysterious-toddler-20573

    10/04/2020, 4:53 PM
    I think the whitespace is considered an element, and so is being settled
  • m

    mysterious-toddler-20573

    10/04/2020, 4:54 PM
    reproduced
1...505152...1146Latest