Is there any way I can stop infinite scroll in home page? Thanks.
Probably not.
It will probably help if you take two steps back and describe the problem are you trying to solve.
Hi Jay, sorry for my delayed reply. We need to stop infinite scroll after loading 5 to 10 pages somehow or completely disable it in home page and even in category pages.
Can you say more about why that is important. What is your problem with infinite scrolling?
I can imagine that it can be an annoying feature for many users
That’s still not specific enough. We’re looking for more specific details here so the problem can be understood.
Why does infinite scrolling need to be disabled? Why is a user finding infinite scrolling annoying?
We’re looking for specific answers to these questions because disabling infinite scrolling isn’t trivial and there might be an alternative solution, or there might be a problem someone’s running into that may help us improve infinite scrolling.
I am not suggesting to remove this feature permanently, but maybe there can be a flag to disable it in certain scenarios
Which scenarios do you have in mind? And like Kris, I’m also curious to know why.
I always had a problem with infinite scroll in tumblr. It didn’t load properly anymore after a certain amount of posts and it started to buck. It just wasn’t any fun. Maybe the problem was my weak internet connection?
Also, it`s easier to find certain posts if they are on a certain page rather than in a whole line of posts.
The only time I have had a “problem” with infinite scroll is when I was looking for something specific and scrolled faster than than the responses were being returned. The “problem” being that I saw placeholders until the new content loaded in.
IMHO, if the problem is because of a slow connection, I don’t think it will make a lot of difference if content is scrolled in or paginated to. But if you really want pagination you can use a browser with JavaScript disabled. You will miss out on a lot of the JavaScript goodness, but you will have pagination.
If on the other hand the problem is because of exceeded memory limits that might be something important to look into.
I’m not so sure, many lines vs. many pages seem like two sides of the same coin to me.
Perhaps you are looking for the advanced search page?
https://meta.discourse.org/search?expanded=true
Ciao, sono arrivato qui perché volevo trovare un modo per disabilitare lo scroll infinito nella pagina “Ultime”. È la scheda/pagina predefinita e vorremmo che gli utenti potessero raggiungere il piè di pagina, poiché contiene link importanti e anche informazioni legali.
Il forum fa parte di un sito web che include anche un blog e altre pagine statiche. Di conseguenza, le informazioni dovrebbero essere presentate in modo coerente (stessa posizione, stesso formato/aspetto). Un piè di pagina ha senso in questo contesto, perché non vogliamo che un link sia nascosto in un menu.
Hai qualche consiglio per me?
Cambiare la home page da ‘Ultime’ a ‘Categorie’ e impostare lo stile della pagina categoria desktop su ‘Categorie con gli ultimi argomenti’ disattiverà efficacemente lo scroll infinito nella tua pagina di destinazione.
Capisco, grazie mille per la risposta veloce.
In realtà non ci piaceva molto il layout delle categorie; volevamo mettere in evidenza gli argomenti più recenti e offrire ai lettori la possibilità di concentrarsi con quella singola colonna. È anche importante per noi mostrare il coinvolgimento negli argomenti, ad esempio evidenziando i diversi partecipanti alla discussione.
Quindi, per essere chiari, sarebbe possibile per uno sviluppatore modificare il codice per disabilitare lo scroll infinito (sostituendolo con un pulsante “Carica altro”)?
No, non è possibile.
Quindi mi unisco alla discussione.
Lo scroll infinito è un po’ un anti-pattern dell’esperienza utente.
Impedisce agli utenti di arrivare mai in fondo a una pagina.
La maggior parte dei siti web ha “mega footer” che fungono da rete di sicurezza per la navigazione, per ulteriori triage, link per la condivisione e link obbligatori per legge come le politiche sulla privacy, le informazioni sull’accessibilità, ecc.
Sebbene la paginazione non sia il preferito da tutti, mette l’agente nelle mani dell’utente e rende possibile collegarsi a un insieme specifico di risultati, invece di costringere l’utente a “scorrere finché non trova quello che cercava” (certo, la ricerca è uno strumento migliore per questo).
Sarebbe il team di Discourse disponibile a supportare un pulsante “Carica altro” opzionalmente, invece di limitarsi allo scroll infinito?
No, la nostra posizione non è cambiata qui, scusa.