Comments (11)
Ill take a look when I have time. I assume this is on windows right?
from floatthead.
Thanks! And yes, I'm using Windows 7.
from floatthead.
Just looked in firefox on my windows VM, could not reproduce on that fiddle. Are you seeing it there 100% of the time?
from floatthead.
One person on a Stackoverflow post said they don't see it when using OSX. I'm seeing it 100% of the time on Windows 7 machines using IE10, FF and Chrome. Were you using Windows 7? Here's a video where I show the behavior in Chrome:
http://www.youtube.com/watch?v=BWoHkwcHc64
Thanks again, I really appreciate you looking into this. Other than this very minor issue this plugin is awesome!
from floatthead.
Thanks for the video, I'll get my hands on a windows box and fix this in the next few days.
from floatthead.
sadly, it turns out that I dont have access to a windows box. I cannot reproduce it on my windows VM.
You should try the following workaround for now:
$(window).on('resize', function(){
setTimeout(function(){
$table.floatThead('reflow'); //may not need this settimeout
}, 1);
});
from floatthead.
It's close! It's still partially hiding that last column - especially on larger tables - but you can see more of the last column with this reflow. I tried with/without the setTimeout and I tried increasing the milliseconds. I made another video with a slightly larger table (more cells).
http://www.youtube.com/watch?v=uuEGvBv2gnU
Thanks again.
from floatthead.
call it 5 times at different intervals after the resize? Yes that is super hacky but I'd like for you to have a workaround until I can find myself a windows box and some time to fix this issue.
from floatthead.
That definitely helps for the time being. Thanks for the temporary solution.
from floatthead.
finally got my act together and downloaded an XP VM. Thanks for reporting this, I think i've been seeing other symptoms of this bug for a while now. The fix is on master now and will be in 1.2.6 release
from floatthead.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from floatthead.
Related Issues (20)
- Fix the first column (on the left) and the header of the table (on top) HOT 3
- TypeScript Definitions HOT 6
- Floating thead hides its origin on overscroll? HOT 5
- Request: add extra class to the top floated element when its active HOT 3
- Strategy for handling sticky position from top when that position isn't constant HOT 11
- Compatibility with table sorting plugins ? HOT 2
- Wrong setHeaderHeight behaviour HOT 9
- Header never prints using jquery.floatThead HOT 2
- Browser search doesn't scroll to position of result HOT 2
- What is the best way to adjust column widths? HOT 3
- [enhancement] keep input focus during reflow
- Not working
- TypeScript 4.3.5 error with version 2.2.2 HOT 7
- In your official documentation, please explain you MUST use a JQuery selector, not regular JavaScript HOT 5
- TypeScript 4.3.5 error with version 2.2.3 HOT 2
- Table is not recalulated correctly after hiding/showing some columns HOT 6
- top position according to responsive vs. scroll HOT 4
- Rendering issue when multiple <table> are contained in a `overflow: auto;` div HOT 7
- Fix Multiple THEAD in one single Table HOT 3
- Could you please provide an example in React HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatthead.