TableHeadFixer icon indicating copy to clipboard operation
TableHeadFixer copied to clipboard

固定左侧列,在IE和Mobile上面,固定列会闪动

Open tomfanxiaojun opened this issue 9 years ago • 10 comments

Hi,前辈, 我用了你这个插件来固定左侧列,但是IE和Mobile上滚动的时候,左侧列会闪动,前辈能帮忙看看是什么问题么?

tomfanxiaojun avatar Oct 17 '16 02:10 tomfanxiaojun

Hi @tomfanxiaojun 這個閃動的問題是效能的關係,我目前還不知道如何處理這個問題,但是我已經在研究了

謝謝

Hi @tomfanxiaojun , The problem of fixed cell flash, is problem of performance, I don't know how to fix this now, but I'm studing to solve that.

So sorry

lai32290 avatar Oct 17 '16 11:10 lai32290

Hi,Lai,

Thanks for your reply.i find a temp solution,i use the setTimeout to set the position value,

The freeze columns will show by animation.

image

tomfanxiaojun avatar Oct 18 '16 03:10 tomfanxiaojun

Hi @tomfanxiaojun , Thanks for providing this workaround solution. Can you provide further information about how to modified the existing tableHeadFixer.js to fix column vibration problem? I cannot locate which line I need to modify by using animate as keyword to do search in tableHeadFixer.js Thank you.

junyuo avatar Jul 06 '17 02:07 junyuo

你好,我想问下上面的问题解决了吗?

xqs121 avatar Feb 01 '18 08:02 xqs121

@xqs121 , I don't think the issue is not fixed, but the solution which @tomfanxiaojun mentioned could be a awesome workaround for it.

lai32290 avatar Feb 02 '18 09:02 lai32290

奇怪的是,台式机、老式苹果笔记本在 chrome 上都不会出现这个问题,但是新款的笔记本会出现这个问题

ihuangmx avatar Mar 10 '18 06:03 ihuangmx

@junyuo ,请问你得到解决办法了吗,我试了上面的方法并没有什么用啊

xqs121 avatar Mar 12 '18 03:03 xqs121

@lai32290 請問這個問題現在解決沒

hithto avatar Mar 14 '18 08:03 hithto

@hithto 目前沒辦法,就我所知,目前的CSS無法支援這種效果,所以是用Javascript去運算的,導致會有一些效能問題

lai32290 avatar Mar 14 '18 10:03 lai32290

原因好像是因为高性能的机器上 scroll 事件触发的太频繁,不知道有没有办法解决

ihuangmx avatar Mar 19 '18 11:03 ihuangmx