-
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
Horizontal scrollbar is always scrollable #2734
Comments
Hello, You can disable the horizontal scroll bar with enableHorizontalScrollbar option. $scope.grid = { 0 -> disable |
Thanks for the response, but it doesn't fix the bug. The scrollbar should be visible but without the extra offset. Something has been changed between RCv12 and RCv18 |
You can see the double lines in the area marked as green. Regardless, I need to have the scroll-y enabled, as I did in rc12. There is Paul, can you comment on this? 2015-02-10 8:37 GMT+01:00 mikila85 notifications@github.com:
|
This is a duplicate of #2521 |
I have the same problem :/ It exists also in RC19 |
I found a place where is bug: In this place the scrollbar width should be substracted from viewport width (viewport include scrollbar width), so it should be changed for something like this:
I don't know this library, so it's hard for me to say that will break something else or not - i think no, but maybe someone else confirm this or propose how do this better? |
With the newer native scrollbar changes we need to subtract the scrollbar width from the available width used to render the columns, otherwise the viewport contents will overflow the visible area and cause the viewport to scroll horizontally when we don't want it to. Thanks to @dczepierga for tracking down the cause and solution. Fixes #2521, #2734, #2592
Closed via cf86090 |
fixed?? :) |
yes fixed :) |
thank you 👍 great work!! going to try now. |
@c0bra |
@mikila85, but the version e099c5b is before this fix? Look here: You should have at least cf86090 |
thank you, sorry, still new at this i'll learn, |
I checked it. It is almost perfect, but when enableHorizontalScrollbar = 2 scrollbar shouldn't be visible but it is visible. |
OK thanks for checking that. I'll try again tomorrow :) |
@mszpiler, scroll is always visible because options Look here for available values for scrollbar: And here for relese notes:
So it not works because this option is not supported ;) |
@mszpiler how did you get the version that includes the fix? |
@mikila85 I build it with changes @c0bra on master |
how did you build it? (sorry for noob question) |
Follow with instruction on https://github.com/angular-ui/ng-grid |
thank you! :) |
still hasnt finished lol. something is wrong |
OK sounds like this issue is indeed fixed, then. Closing again. |
I am using ng-grid and I cannot switch to ui-grid since my app is heavily depends on ng-grid. Is it possible to fix this issue for ng-grid. |
I have the same issue and there is no misalignment when I go to that page through navigation menus but when I click refresh and when the grid loads I am getting the misalignment. |
After upgrading to 3.0.0-RC.18.
It seems you can always scroll a small area equivalent to the width of the vertical scrollbar. There is also a double line in the top right corner. Bug is clearly visible in all demos.
Is this a bug or by design. Can it be turned off?
The text was updated successfully, but these errors were encountered: