luigi92 2 Posted April 7, 2020 Posted April 7, 2020 (edited) Hi @@Luke , can you return the desktop view as before? Since the last update on the desktop you can see it as if it were a mobile or an app ... Before when you were using the "Search" button in your browser... Typed the user name.. And the browser showed you the user Now if the user is below in the page.. The browser cannot find it If you go down with the page... the browser detects it Before it went down automatically and highlighted your search... now no more Edited April 7, 2020 by luigi92
Luke 40128 Posted April 7, 2020 Posted April 7, 2020 Hi, sorry I don't quite understand. Can you show a screenshot to demonstrate? Thanks.
luigi92 2 Posted April 7, 2020 Author Posted April 7, 2020 (edited) Hi, sorry I don't quite understand. Can you show a screenshot to demonstrate? Thanks. I don’t have an old screen of settings Initially I used the Chrome browser's "Search" button The browser highlighted the text searched Now if I use the Search button the browser cannot find the text.(user) In particular in the section "Users" Find only what I see too... If the text is under the page and then I should "scroll" Chrome doesn’t find it Can you enter the option to use the page " Settings" either with the new one... or with the old version? Edited April 7, 2020 by luigi92
Luke 40128 Posted April 7, 2020 Posted April 7, 2020 Now if I use the Search button the browser cannot find the text.(user) What do you mean by cannot find the text?
luigi92 2 Posted April 7, 2020 Author Posted April 7, 2020 (edited) What do you mean by cannot find the text? Edited April 7, 2020 by luigi92 2
pwhodges 1857 Posted April 7, 2020 Posted April 7, 2020 Presumably before you are required to scroll, you have not read the later data - and the browser search only uses what's been downloaded so far. Paul 1
Luke 40128 Posted April 7, 2020 Posted April 7, 2020 Ok yes, it's caused by the new virtual scrolling. The answer is no, we can't reverse that it is a must-have feature nowadays. To solve this, we're going to have to override the browser search function and replace it with our own.
ebr 15675 Posted April 7, 2020 Posted April 7, 2020 Beautiful example of a picture being worth 1000 words cuz I was completely lost as well . Well done on the illustration @@luigi92! 2
daedalus 430 Posted April 7, 2020 Posted April 7, 2020 To solve this, we're going to have to override the browser search function and replace it with our own. so every website using virtual scrolling has to override the integrated search in the browser?
Luke 40128 Posted April 7, 2020 Posted April 7, 2020 so every website using virtual scrolling has to override the integrated search in the browser? If they want the search to be able to search all content and not just what's rendered on-screen, then yes. But even back when we had paging, we had this limitation as well. You had to page through 100 at a time, and the browser search function would only be able to search through the current 100.
daedalus 430 Posted April 7, 2020 Posted April 7, 2020 interesting, never faced a page i couldn't search to the end
Luke 40128 Posted April 7, 2020 Posted April 7, 2020 interesting, never faced a page i couldn't search to the end User interfaces can't handle rendering massive lists all at once, so that's why you need virtual scrolling. Most web pages don't need this, so that's why you're saying that. The browsers don't have built-in virtual scrolling api's which means web app developers have to build their own themselves, and this requires replacing many built-in functions with custom versions in order to get everything to work. Chrome has expressed interest in having a built-in api, but it's not available yet.
pwhodges 1857 Posted April 7, 2020 Posted April 7, 2020 interesting, never faced a page i couldn't search to the end I have observed this on other web sites; but it's never bothered me, 'cos if it matters there's usually a search field available that works server-side. I've never seen them overlay the browser's search for this, though. Paul
Luke 40128 Posted April 7, 2020 Posted April 7, 2020 An example of overriding it would be any forum based on discourse where the topic is over a certain length. It's too much to render all at once so it is virtualized just like our scrolling. When you press control-f to do your browser search they intercept it and present a custom version that will work with their rendering.
pwhodges 1857 Posted April 7, 2020 Posted April 7, 2020 I see; I'd missed that because I don't frequent any forums that use Discourse, partly because I find them so unpleasant to use... Paul
luigi92 2 Posted April 8, 2020 Author Posted April 8, 2020 (edited) Ok yes, it's caused by the new virtual scrolling. The answer is no, we can't reverse that it is a must-have feature nowadays. To solve this, we're going to have to override the browser search function and replace it with our own. With Internet Explorer 11 there is no such problem The browser scrolls down the page to the user to search If there’s this "Bar" There's no such problem On google chrome there is not this "Bar" and you have this problem Can you create a search button for users? Edited April 8, 2020 by luigi92
Luke 40128 Posted April 8, 2020 Posted April 8, 2020 Ie11 doesn't support the virtual scroll so we're just rendering everything all at once. So yes it will work there, but if you have a big enough list you may lock up the browser.
luigi92 2 Posted April 9, 2020 Author Posted April 9, 2020 Ie11 doesn't support the virtual scroll so we're just rendering everything all at once. So yes it will work there, but if you have a big enough list you may lock up the browser. Can you create a user search manager?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now