-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapsed items, not filling the whole scrolling space #28
Comments
Adding to this. The issue coming from was the attribute The solution I did now was: and in code behind I calculate and set this: And then I recalculate aswell when The funny thing is rather: 100vh is working on expanded elements but not on collapsed once |
@graphefruit, I just launched a new v1.9.2 on NPM, fixing this bug in ag-virtual-scroll. Try to update and let me know after. |
Hey @ericferreira1992 I've changed my code back to 100vh, and now it collapse to the bottom, but the difference between 1.9.0 and 1.9.2, is that there is now very much blank space: |
I'm struggling to replicate this behavior 😅. But I'll get it done and solve it! I let you know @graphefruit. |
@ericferreira1992 |
Hey @ericferreira1992, The size is set and there are just 5 elements are rendered. on the other solutions on the other pages where its identically implemented, are just initializing the needed brews. And now the funfact:
If I change Maybe this helps for some more debugging |
@graphefruit, I'm running the |
@ericferreira1992 do you run it on browser? I can checkin you some sample data, but you'd also need to revert from 100vh to my calculcations e.g. |
Yes, I'm using browser (G. Chrome). Ok, I'm pointing to the local |
I'll put in some beta-data right now :) give me about 10-20 minutes |
Good evening @ericferreira1992 import_data.movI've also opened up one ticket, where I put the code change into it, to see where you can start to debug / change to see what is the differene: graphefruit/Beanconqueror#838 If you need anything else I'm happy to help! |
Right! I ran the application here. I noticed the issue is because how your brews page is rendered at the application. You will never be able set
I managed to make |
Thank you for the digging::
Somehow the funny thing is: This worked very long
This is what I'm doing in the associcated brews, I'll update to the latest version (I just calculate this in a variable and set it) I'll try it this evening and give you feedback. Thanks for your support! |
@graphefruit, I made a mistake in my last comment. The calc is wrong, if you use 100vh you going to need to subtract the all elements heights which are taking up space, i.e. |
This is what I'M doing in the associated-brew already
And then I set the height element: Btw: I need to do the event-scroll, because if i collapsed the items, sometimes they are not rendered to the bottom - maybe even a side-effect to this case here. |
I've found another very strange situation. Screen.Recording.2024-11-17.at.21.14.36.movWhen using the PX-Calculcation with a value, and switching from the tabs to another menu and coming back, the whole app freezes. Intersting: |
Second one:
As a trigger, it works. This code I've found as a work around, because the tiles where sometimes not rendered when collapsed (and just 80px height, instead of 180) and therefore displaying much more then before |
Hey @ericferreira1992,
I've added in a last update in my app, the possibility to "collapse" the coffee brews.
Interesting is that I got about 789 items, and 4 are just rendered, even so there would be enough space for 2 more:
When I expand the brews it takes the whole scroll container:
Do you have any idea whats happening here and what I could do?
My container is set like:
Setting the min-row-height to "auto" is a bit fixing this issue, but still not taking up the whole space.
Thank you so much for your support!
The text was updated successfully, but these errors were encountered: