mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00
Listen to resize events and check revealed (#2780)
This commit is contained in:
parent
2855c2c24e
commit
324ee19377
@ -2506,6 +2506,7 @@ var htmx = (function() {
|
||||
windowIsScrolling = true
|
||||
}
|
||||
window.addEventListener('scroll', scrollHandler)
|
||||
window.addEventListener('resize', scrollHandler)
|
||||
setInterval(function() {
|
||||
if (windowIsScrolling) {
|
||||
windowIsScrolling = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user