-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Weirdly shrinking table! #461
Comments
This ia amazing! :D |
Hmm, I just reworked the window resize callback but never saw this in my tests. I will look into it. As a workaround solution, comment out this code:
|
Actually I can't reproduce this on my localhost. Any ideas what I need locally to reproduce it? |
Hmm, have you used the same external resources as are used on the jfiddle page? |
Here's another interesting one, with this one, widen the spreadsheet area horizontally then shrink it back up. Notice how the spreadsheet slowly shrinks back to the correct size, rather than immediately resizing. I guess the problems are related, although this problem shrinks up to the right size rather than going too far: |
I think the problem is that you don't take into account the scroll bar height when setting the new height of the container.
|
The problem is that the example is using scrollbars in an undocumented and untested way...
See that it works in that case: http://jsfiddle.net/HEFUj/3/ Anyway, I will try to fix this soon. At least now I know how to reproduce it. @myisis is quite right with his understanding of the problem |
Cool, will look forward to a fix! |
This issue should now be fixed in Handsontable 0.8.16. Could you please upgrade and test if it works for you? |
I still see some issues in this example http://jsfiddle.net/HEFUj/2/, though different ones :) I reopen this ticket for a while to investigate further |
Closing. This issue is fixed in 0.8.16 and 0.8.17 |
Hi, please visit:
http://jsfiddle.net/HEFUj/2/
then resize the width of the window or bottom right frame until the spread needs a horizontal scroll-bar.
The whole spreadsheet then seems to slowly shrink up vertically until it disappears! Happens on IE10 and Chrome.
What's causing this and how do I stop it?
My ultimate goal is to put the spreadsheet in to a jQuery tab and have it resize properly.
Tony.
The text was updated successfully, but these errors were encountered: