-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Wrong width calculation #396
Comments
@buschtoens any insights into this? |
Will take a look at this on Monday evening, hopefully.
|
Also came across this issue in mac chrome (but not firefox) when "always show scrollbars" is enabled in system settings. The width returned by the scrollbar-thickness service was 15px and that threw off the width of the table body. In this case the width calculation isn't needed because the scrollbars are rendered on top of the table. Turning off "always show scrollbars" also resolved the issue. |
In one of our projects, we are also seeing this, with latest v 1.8.6 that installs scrollable 0.4.5 we see discrepancies between the widths of the header cells with the row cells. When I cloned ember-scrollable locally and linked in the project as 0.4.4 the problem goes away. |
Exactly, the problem si scrollable 0.4.5 |
Could y'all please post screenshots indicating the problem alongside some info on which browser and OS you're using? :) I suspect that this problem only occurs on OS X. |
same problem on Windows |
Thanks @marceloandrader! Yes indeed, it's an upstream bug in ember-scrollable. And I'm the one to blame. 😅 Tracking it here: alphasights/ember-scrollable#76 |
So sorry for the long hold up, folks. I had a lot of things on my to do list. 🙈 I finally got around to fix this bug. It was caused by remnant I submitted a PR (alphasights/ember-scrollable#78) and as soon as it's merged, this is fixed. 🙌 |
|
I was the only one on my team that ended up getting ember-scrollable 0.4.5, they all had 0.4.4 (which satisfies the package.json version requirements). They all thought I was crazy when I kept seeing this issue and nobody else did 😆 I started to think I was crazy too |
Haha. I'm very sorry for making you question your sanity. 😅 Perfect time to recommend yarn. It's an npm client that assures everybody on the team and every build gets exactly the same versions of packages. It's also quite a bit faster than npm and resilient to network outages. ember-cli is already natively supporting it as well. |
Actually we are all using yarn, and keep our yarn versions updated. We have not always experienced that, especially not in this case. |
@RustyToms you should be able to resolve your yarn issue with a simple |
Problem: Table is larger than container
Description: I use paginated table and scrollable container is more larger, columns are wide
Resolve my problem with downgrade ember-scrollable at 0.4.4
Correct or are there any other problems?
Edit: the problem is on ember-srollable 0.4.5
The text was updated successfully, but these errors were encountered: