هل تعلم؟dyk.si

التمرير اللانهائي Infinite Scroll

يُحمَّل المحتوى من تلقاء نفسه كلما وصلت إلى الأسفل، دون صفحات ولا أزرار.

IntersectionObserver sentinel

متى تستخدمه

للمحتوى الاجتماعي والصور التي يتصفحها الناس بلا هدف.

خطأ شائع

لنتائج بحث تريد العودة إليها، الترقيم أفضل.

إمكانية الوصول

Announce new items and keep the footer reachable.

اسمه في الكود

HTML/CSSIntersectionObserver sentinel
Reactreact-infinite-scroll-component
Jetpack ComposeLazyColumn + Paging 3
SwiftUIList + .onAppear (last item)

برومبت جاهز لوكيل البرمجة

Add a Infinite Scroll to this screen. What it is: More content loads automatically as you reach the bottom, with no pages or buttons. Implement with: IntersectionObserver sentinel (HTML/CSS). Accessibility: Announce new items and keep the footer reachable. When to use it: For social feeds and browsing without a goal. Avoid: For search results people return to, pagination is better. Reuse the project's existing design tokens, spacing and component conventions.

أو ركّب صفحة كاملة من هذا العنصر وغيره →

البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.

يُخلَط بينه وبين عناصر أخرى؟

⇄ Pagination أم Load More أم Infinite Scroll؟