question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table fixed column warning when changing `ConfigProvider` direction

See original GitHub issue

Reproduction link

https://github.com/nichita-pasecinic/antd-fixed-column-dev-warning

Steps to reproduce

git clone https://github.com/nichita-pasecinic/antd-fixed-column-dev-warning
npm i # install deps
npm run dev 

Toggle direction by clicking on the button

What is expected?

Columns should be fixed and no warning / error is displayed in console

What is actually happening?

Columns are correctly fixed, but there is an annoying warning in dev mode image

Environment Info
antd 4.20.2
React 17.0.2
System Windows 10 pro
Browser Chrome 100

The issue is not reproducible in stackblitz playground, ONLY local. The warning itself comes from rc-table, I presume that it comes from useColumns hook

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Dunqingcommented, May 5, 2022

I fixed it. You can ignore it for now.

1reaction
github-actions[bot]commented, May 3, 2022

You may look for issues:

  1. 56% #19335
  2. 53% #34208

🤖 By issues-similarity-analysis

Read more comments on GitHub >

github_iconTop Results From Across the Web

ConfigProvider - Ant Design
This component provides a configuration to all React components underneath itself via the context API. In the render tree all components will have...
Read more >
Change direction of layout to RTL in Ant Design Blazor
I mean changing direction to RTL similar the way Ant Blazor website changes direction by a button in header and using ConfigProvider.
Read more >
Table - Ant Design
A table displays rows of data. ... Name, Age, Address, Tags, Action ... sort methods for each columns, effective for all columns when...
Read more >
Table - Ant Design - GitHub Pages
To fix some columns and scroll inside other columns, and you must set scroll.x meanwhile. Specify the width of columns if header and...
Read more >
CHANGELOG - Naive UI
Fix n-data-table 's column's align doesn't work for table header, closes #4063. 2.34.0. Breaking Changes. Wrap a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found