Hailey on Nostr: FYI web developers: you don’t have to set up an IntersectionObserver or onscroll ...
FYI web developers: you don’t have to set up an IntersectionObserver or onscroll handler to hide images when they’re scrolled outside the viewport. Browsers actually do this for you! Hope this helps
Published at
2025-10-17 00:26:57 UTCEvent JSON
{
"id": "234f4f6ce8f594354e8aba94f25afcf6424108f0ee3c5a04b28dfa25d883e1e9",
"pubkey": "00f8bb3d85b00eae2aed3db4a1676421a3b4be091e192a1b39c57a69d94c9503",
"created_at": 1760660817,
"kind": 1,
"tags": [
[
"proxy",
"https://hails.org/@hailey/115386667308872244",
"web"
],
[
"proxy",
"https://hails.org/users/hailey/statuses/115386667308872244",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://hails.org/users/hailey/statuses/115386667308872244",
"pink.momostr"
],
[
"-"
]
],
"content": "FYI web developers: you don’t have to set up an IntersectionObserver or onscroll handler to hide images when they’re scrolled outside the viewport. Browsers actually do this for you! Hope this helps",
"sig": "4d149ca33a704fa2a985dcd6f8300b9aef20cb94fb15bf59f287312382b3e1707a141d81b024529fe7a97174365609f1cc5a5da3aca36ba27102182204ef743d"
}