Modal renrender cause can not input chinese
See original GitHub issueimport { List, InputItem, Modal } from 'antd-mobile';
class Demo extends React.Component {
state = { nick: '' }
finishNickModify = nick => {
this.setState({ nick })
}
render() {
return <Modal visible={true}> <List>
<InputItem
onChange={this.finishNickModify}
value={this.state.nick}
>昵称</InputItem>
</List></Modal>
;
}
}
ReactDOM.render(<Demo></Demo>, mountNode);
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
can't type chinese when used in bootstrap modal #238 - GitHub
It sounds like perhaps the modal component is causing a re-render that destroys the <input> element. Can you create a reduced test case...
Read more >Unable to type in text-box in modal and re-render with new state
I have an onChange method and I can see that as soon as I click on the text box, the console logs show...
Read more >Safari Technology Preview Release Notes - Apple Developer
Preview the new type of phishing-resistant credential that makes signing in to websites safer and easier. Available through Safari's WebAuthn platform ...
Read more >Oracle Commerce Cloud Service - Administration interface
Workaround: Refresh the page. Chinese locales are not supported with Microsoft browsers on Windows 8 and Windows 10. If your computer is running...
Read more >Publications - ARC官网-腾讯 - Tencent
In this paper, we present the first unified framework, named Unified Multi-modal Transformers (UMT), capable of realizing such joint optimization while can also ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@basilbai 这是react-native 新版本的BUG 切换到以下对应版本就可以了
“react”: “16.8.3”, “react-native”: “0.59.9”,
这两个版本 也有同样的问题 有解决办法没