-
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
Scrolling - column headers misaligned with data... #2592
Comments
I have this same issue except it only occurs when horizontal scrolling. It initially shows up correctly. |
I could swear I've added an issue for this last week but I cannot find it anywhere?! Yeah, seems like there is some issue with the scrolling and the header getting out of sync with the columns. |
There was, I think, but I haven't recreated any issues with header misalignment for some time (since @swalters removed the throttling I think). On the plunkers provided above I don't get a misalignment, so perhaps it is somewhat OS or browser dependent? |
@PaulL1 I get it on both IE9 and FF 35 (whatever is the latest as of today). And I do get it on Tutorial pages. P.S. Funny enough - I submitted an issue for this mid last week but for the life of me cannot find it in the issues here. I had screenshots to showcase the issue. Weird. |
I can replicate it on IE11 and FF35. |
I'm trying to replicate today, and I cannot replicate on firefox on Linux, nor on Chrome. When you say you scroll, is there some trick to the scrolling? I've tried trackpad on Chrome/OSX, and I've tried both dragging and using the scrollbar buttons on Firefox, neither are giving me a header misalignment. |
Nothing fancy... I can try again at work on Monday... Sent from my iPad
|
Hi I am facing same issue. |
@yugansh20 : your issue sounds different, this issue is about the header being misaligned with the column, not columns being unreachable. If that is your issue, suggest raising that as a new issue along with a plunker that demonstrates it. |
any updates to this hi-pri bug? |
I write quick fix for scroll here: Maybe this fix also help with this bug? (for me it works) |
This is a dupe of #2521, leaving open. |
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 |
Workaround: non % values for width appear to work. |
I solved it by not use % values for the column widths. Just use integer On Tue, Dec 8, 2015 at 4:14 PM, nighojkarv [email protected] wrote:
|
I am using a fixed width of 150 on the columns, but still i'm getting the same issue. |
remove any template in each column definition. The template if it is not On Tue, Dec 8, 2015 at 4:26 PM, nighojkarv [email protected] wrote:
|
Yes @dlypka59 it seems that % in not working anymore.... If we create column defs and do not add width property, then it is properly aligned within firefox but not in chrome. So I created my own col defs and plugged in width in pixels |
@nighojkarv , for your issue add this css rule in your custom class |
Hi! Thanks for your reply. I tried your solution, but I've not been capable to 2016-08-26 6:03 GMT+02:00 SuprasannaBhaumik [email protected]:
|
I still have this issue on ver. 3.2.7. Using the following options : The columns are set to pixel widths. No width or height style set to the overall grid. |
Hey guys, i had same problem. I searched a code like below, and it worked for me. Try it. .ui-grid-header-cell {float: left;} |
Hope everyone can solve this problem with this tip. First, add class on last column header when vertical scrollbar needed.
And add below lines on style sheet. Assume that scroll width is 20px.
|
@mesutd0nmez That works! |
Set enableVerticalScrollbar to true, It'll fix the issue.
|
I Fixed it by rounding of the header column min and max width in following function: |
This is still an issue in version 4.6.0 |
That approach doesn't work for me (AngularJS 1.6.1). Still misaligned...
El lun., 25 jun. 2018 a las 4:47, Trent Jones (<[email protected]>)
escribió:
… This is still an issue in version 4.6.0
I had to fix it by using @kenaths <https://github.com/kenaths>
approach... Should not be necessary.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2592 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APdPAGUFqLvdkTAoH-eKC36-_01HPlBMks5uAE9TgaJpZM4DUWLH>
.
|
Closed? Why? It doesn't work well...
El 27/7/2018 17:34, "Marcelo Sauerbrunn Portugal" <[email protected]>
escribió:
… Closed #2592 <#2592> via
f9ac3e5
<f9ac3e5>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2592 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/APdPAHRK-LaE3w82o7o3Jy3NLABVbVbDks5uKzMKgaJpZM4DUWLH>
.
|
This was closed by a pull request that just got merged in. It will be in the next release of ui-grid. I will try to release it this weekend so that you can have it ASAP and if it does not work for some reason, then we can reopen it. |
Thank you very much!
El 27/7/2018 18:58, "Marcelo Sauerbrunn Portugal" <[email protected]>
escribió:
… This was closed by a pull request that just got merged in. It will be in
the next release of ui-grid
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2592 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APdPAAU4zMukSUlIGX85dEphG7B4yVEQks5uK0bIgaJpZM4DUWLH>
.
|
* Change grid header css to flexbox Change grid header css to be flexbox based Header display properties was previously table based while body is block based. This causes alignment issues in some cases. * Better spacing * Another space Fix angular-ui#6799, Fix angular-ui#2592
Hey guys. I found a weird issue. I've been scratching my head with this one for a while trying to narrow it down. As best I can tell it's somehow related to the container size?
http://plnkr.co/edit/2gUnkzVdF1xvU9muNZ4K?p=preview
http://embed.plnkr.co/2gUnkzVdF1xvU9muNZ4K/preview
The text was updated successfully, but these errors were encountered: