Open recursivetree opened 2 years ago
I think it is easier to limit results on server side, keeping the JavaScript smaller. The only reason to do it on client side is to write something line "There are 300 more results" in the last line
it is easier sure, but you never know how big the browser will be. Depending on if it is a smartphone or desktop, the possible maximum length can be different. That goes more into the direction of the second option
When the dropdown list has many suggestions, they might get longer than the rest of the page. In my case, that results in the page overflowing at the bottom.
My question is if it is possible to add an option to limit the number of suggestions that are rendered.
Maybe there is a way to check if we are overflowing instead as a second option?