Closed (fixed)
Project:
Drupal core
Version:
main
Component:
ajax system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2026 at 11:17 UTC
Updated:
25 Sep 2026 at 10:00 UTC
Jump to comment: Most recent
The Htmx factory class for HTMX 4 is missing two new attributes:
hx-morph-skip - freezes an element during a morph swap
hx-morph-skip-children - morphs an element’s attributes but keeps its children
Add supporting methods to Htmx
Add the methods
none
none
New methods on Htmx class
none
none but update the htmx 4 CR once complete
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fathershawnComment #3
fathershawnComment #5
fathershawnComment #6
fathershawnUnrelated test failing: core/modules/field/tests/src/Functional/Update/RecalculateDependenciesUpdateTest.php
Comment #7
fathershawnComment #8
smustgrave commentedReviewing this based on what's already there. Seems to be adding 2 new ones which seems fine.
Comment #9
fathershawnThanks @smustgrave! Yes, @cosmicdreams caught the late additions to their API and as we were already RTBC we decided to handle this in a follow-up.
Comment #10
fathershawnI will update the published CR for the parent issue when this is committed.
Comment #11
larowlanCommitted and pushed 448cc516b3a to main. Thanks!
This is in, thanks - tagging for CR updates