-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Row Selection column is not totally rendered for the last rows #6292
Comments
I am also experiencing this issue - looks like it incorrectly evaluates the following as
|
I might have a hacky fix for this. I believe the return value of needsHScrollbarPlaceholder on the pinned, 'left', container needs to change based on whether or not there is a scrollbar on the 'main' container. Detecting the presence of the scrollbars on elements turns out to be difficult. My approach is to compare the canvas's width to its parent's width. I modified GridRenderContainer.prototype.needsHScrollbarPlaceholder on line 8989 of the ui-grid.js I get from npm. |
I have not tried it but I suspect this will not work
|
You are definitely right on #2 and probably right on #1.
Do you agree that this approach would work if we had a reliable algorithm
for determining if the there is a horizontal scroll bar on the main grid?
…On Thu, Nov 30, 2017 at 2:22 AM, Christian Walther ***@***.*** > wrote:
I have not tried it but I suspect this will not work
- when the horizontal scroll bar is overlaid on the content (as I
mention in #6474 <#6474>,
the goal is not to detect whether there is a scroll bar but whether it
occupies space)
- when there are multiple ui-grids on the same page.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6292 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAaQwqrg4HKmq3NKnQhIRhd6VkLGFbFqks5s7lfAgaJpZM4OMYvS>
.
|
I see cases where the last row scrolls away from the checkbox row when you go to the bottom of the list. Generally the sizing algorithm is squirrely. |
PR was declined because I couldn't get the unit tests to work. But this can be a starting point for those who wish to look into the issue. |
I was struggling with this scrollbar blank area using expandable in 4.0.2. finally upgraded to 4.7.1 and now the enableHoriztonalScrollbar option actually works, e.g.:
Doesn't work with just "false". Thought this might help someone. |
This happens when having pagination and showing 25 rows or more.
The height of that panel is less than the table content.
This could be related to issue #3394
I've tried with latest version 4.0.6
Here is an example (expand all rows)
http://plnkr.co/edit/eicEjc0diANjhdgoZpWt?p=preview
The text was updated successfully, but these errors were encountered: