Git Product home page Git Product logo

Comments (9)

stackblitz avatar stackblitz commented on July 19, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

from ant-design.

3764446961 avatar 3764446961 commented on July 19, 2024

复现地址
5.18.1 点击更新按钮,排序仍存在(正确):https://stackblitz.com/edit/react-wythmx?file=demo.tsx,package.json
5.18.2 点击更新按钮,排序失效(错误): https://stackblitz.com/edit/react-2vtqbz-g4rzdy?file=demo.tsx,package.json

from ant-design.

3764446961 avatar 3764446961 commented on July 19, 2024

复现地址 5.18.1 点击更新按钮,排序仍存在(正确):https://stackblitz.com/edit/react-wythmx?file=demo.tsx,package.json 5.18.2 点击更新按钮,排序丢失(错误): https://stackblitz.com/edit/react-2vtqbz-g4rzdy?file=demo.tsx,package.json

5.18.2 table更新内容:https://github.com/ant-design/ant-design/pull/49289/files#diff-33a34c8ef463c5e1cad14a8046c87aa47265d4927644753c226a65211511dc41

from ant-design.

afc163 avatar afc163 commented on July 19, 2024

我没有重现出你提到的问题。

from ant-design.

3764446961 avatar 3764446961 commented on July 19, 2024

5.18.2

image image

from ant-design.

3764446961 avatar 3764446961 commented on July 19, 2024

5.18.1

image image

from ant-design.

afc163 avatar afc163 commented on July 19, 2024

你看下我这个 5.18.2 的例子? https://stackblitz.com/edit/react-wythmx-dccyu7?file=demo.tsx,package.json

我操作的 gif 如下,好像没发现你截图里的问题,我是不是有哪里操作错了?

Jun-19-2024 19-22-04

from ant-design.

afc163 avatar afc163 commented on July 19, 2024

5.18.2 点击更新按钮,排序失效(错误): https://stackblitz.com/edit/react-2vtqbz-g4rzdy?file=demo.tsx,package.json

你给的这个链接,我操作的 gif 如下,同样没发现问题:

Jun-19-2024 19-24-52

from ant-design.

afc163 avatar afc163 commented on July 19, 2024

哦,我知道了,是我理解错了操作步骤。正确的重现步骤是:

  1. 先点击 math 这一列使其进入排序状态,排序图标变成蓝色
  2. 再点击更新,此时观察排序图标

预期:排序状态的蓝色还在
4.18.2 实际:排序状态丢失


这个问题已经在 4.18.3 里修复了,欢迎升级测试:https://stackblitz.com/edit/react-wythmx-gus1dk?file=demo.tsx,package.json

from ant-design.

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.