You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use hx-trigger="revealed" the trigger works, when scrolled into view, but when you use revealed with another trigger event, for example: hx-trigger="revealed, myCustomEvent from:body" it doesn't trigger the revealed event.
We searched through the code and found the reason.
If you use
hx-trigger="revealed"
the trigger works, when scrolled into view, but when you use revealed with another trigger event, for example:hx-trigger="revealed, myCustomEvent from:body"
it doesn't trigger the revealed event.We searched through the code and found the reason.
https://github.com/bigskysoftware/htmx/blob/master/src/htmx.js#L1581
It checks if hx-trigger is exactly "revealed" and not contains the event "revealed".
Is it a bug or, if it was done on purpose?
The text was updated successfully, but these errors were encountered: