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.

BUG? when the Steps' last title was chinese,the step component would be dither frequency

See original GitHub issue
  • antd version:2.7.3
  • OS and its version:win8.1 专业版
  • Browser and its version:chrome56

What did you do? Please provide steps to re-produce your problem.

steps里最后的step的title为中文,step便会高频抖动。

What happen?

111

Re-producible online demo

没有在线例子。我尝试使用codepen复现,但无法重现。也许是环境冲突导致的,不断地对本机配置进行简化,问题依然存在。本机上则可以轻易地复现出来。 附上简化的工程,npm start 后就能看到现象:

demo.zip

工程中的部分代码:

import React from 'react'
import { Steps, Button, message } from 'antd';
const Step = Steps.Step;


const statuses = [{
    alias: "First",
}, {
    alias: "Second",
}, {
    alias: "中文",
}];

class StatusShow extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <div>
                <Steps current={0}>
                    {statuses.map(item => <Step key={item.alias} title={item.alias}/>)}
                </Steps>

            </div>
        )
    }
}

export default StatusShow;

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
garviewcommented, Mar 1, 2017

It seems the cache problem though I have clear the cache many times throuh “ctrl+shift+del” . After uninstall the chrome including clear the browser data at all and install chrome again, the Steps component working fine.

0reactions
lock[bot]commented, May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CN104679698B - The decomposition method of dither signal in high ...
The invention discloses a kind of decomposition method based on dither signal in high-speed serial communication, first by treating that the amplitude ...
Read more >
A Theory of Non-Subtractive Dither - Robert Wannamaker
A detailed mathematical investigation of multi-bit quantizing systems using non-subtractive dither is presented. It is shown that by the use of dither ......
Read more >
Answers to Exercises - Springer Link
—Chinese Proverb ... The next step is to divide this string of 48 bits into 6-bit blocks. ... Answers to Exercises. Prob. Steps....
Read more >
What is Dither versus PWM? - Quality Hydraulics
Dither is a small ripple frequency that is superimposed over the PWM signal to the solenoid current that causes the desired vibration and...
Read more >
How to Design and Debug a Phase-Locked Loop (PLL) Circuit
Designing and debugging a phase-locked loop (PLL) circuit can be complicated, ... With an integer-N PLL, the output frequency step is equal to...
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