Giter Site home page Giter Site logo

Comments (9)

shinima avatar shinima commented on May 3, 2024 1

我明天更新一下 0.14 版本吧,0.14 处理之后也许可以兼容 chrome49

from ali-react-table.

shinima avatar shinima commented on May 3, 2024

好的,这个是因为 NodeList#forEach 在 chrome 51 之后才能用导致,我改进一下写法

相关资料: https://developer.mozilla.org/zh-CN/docs/Web/API/NodeList/forEach

目前 v1 版本左右锁列也是通过 sticky position 来实现的,表格必须得在支持 sticky 的浏览器下才能正常运行了。
因为我们内部是 to B 的业务场景,业务方基本都用最新版本的 chrome,所以一开始就没想着要去兼容老版本的浏览器。

from ali-react-table.

ChipmunkJerry avatar ChipmunkJerry commented on May 3, 2024

不想放弃使用o(╥﹏╥)o

你们有做兼容的计划么

或者有什么代替方案可以分享一下吗

from ali-react-table.

Kehao avatar Kehao commented on May 3, 2024

主要是支持WinXP的最高版本是chrome 49, to B的好多客户装的是WinXP~

from ali-react-table.

foolyoghurt avatar foolyoghurt commented on May 3, 2024

Tob 场景下 XP 就没必要支持了吧,为了兼容性,增加代码的可维护性,以后包袱越背越重。我觉得 ali-react-table 的定位就应该是一个现代版本的 Table,轻量纯粹一点

from ali-react-table.

ChipmunkJerry avatar ChipmunkJerry commented on May 3, 2024

toB暂时没法抛弃XP,金融硬件设备很多还停留在XP,业务流程中任意一环崩溃又都不行……所以还是只能兼容

如果违背了原本定位不能做兼容的话能够理解,但还是很感谢作者愿意帮助

from ali-react-table.

shinima avatar shinima commented on May 3, 2024

试一下 0.14.2 版本,这个版本去掉了 NodeList#forEach 的使用,应该可以跑在 chrome49 上。

1.0 之后的版本必须得在 chrome 56+ 中才能使用

from ali-react-table.

coingpaic avatar coingpaic commented on May 3, 2024

NodeList#forEach的问题通过加polyfill解决了。现在不兼容49,主要是sticky不兼容。

from ali-react-table.

shinima avatar shinima commented on May 3, 2024

现在不兼容49,主要是sticky不兼容。

sticky 不兼容暂时不管了,没有简单的办法做到兼容。

from ali-react-table.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.