qing

Results issues of qing

Make debounce code shorter and clearer

'fn' attribute maybe has been occupied. Symbol feature is suitable here.

在官网文档中出现了一幅设计图,具体位置在【语言】》【三大特性】》【微小】》【第三幅设计图】。 链接:http://ant.design/docs/spec/feature#微小 图片: ![jxzqirfmctmjuah](https://cloud.githubusercontent.com/assets/8462120/17018782/f8e7ddd0-4f6b-11e6-8853-7955eeaebe13.png) 这个组件并没有被antd实现,而且,在中文输入的情景下这个组件几乎是无法实现的,原因是: 1. 这样的组件只能使用div[contenteditable]实现,input[type="text"]无法折行,textarea中是纯文本,效果图中的尾部高亮和下划线效果是做不出来的。 2. 要想实现图中的效果,div[contenteditable]上必须监听`input`或`keyup`, `keydown`之类的事件。每次事件触发时,分析文本长度。div[contenteditable]上并没有`change`事件。 3. 如果只输入西文,根据第二点的思路,可以实现。但是,如果是在输入中文,比如说,某一个用户正在输入拼音但还没有按空格键确认文字输入的时候,div[contenteditable]上的`input`, `keydown`等事件也会被触发,见下图 ![image](https://cloud.githubusercontent.com/assets/8462120/17019630/db38dd4e-4f6f-11e6-8b24-cac373c7780e.png) 还有其他的解决方案,比如分两层,上一层放一个隐形的textarea,下一层放div实时渲染textarea的内容,但是如果文本很长,触发了textarea的滚动事件,或者在textarea中做了选中一段文字的操作,很难在下一层的div中模拟选中效果。 总而言之,在中文的使用环境下,这个组件的实现几乎是不可能的,所以建议把网站上这张设计图去除,以免有工程师被强行要求开发这个效果浪费时间。

This is a 🙋 feature request. ### 🤔 Expected Behavior An output file hash should change when its content updates. ### 😯 Current Behavior File hash does not change. ###...

:speech_balloon: RFC

I am testing a `Relay.RootContainer` component. However, it seems that jest does not look out the asynchronous data fetch of relay. Here is the component. ``` js class RootContainerComponent extends...

``` js // hello.js export const hello = () => console.log('hello'); // index.js export hello from './hello'; ``` When eslinting, error occurs. > error Parsing error: Unexpected identifier How can...

question
archived due to age

### Library React / v8 (@fluentui/react) ### System Info ```shell System: OS: Windows 10 10.0.22000 CPU: (8) x64 Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz Memory: 2.54 GB / 15.73 GB...

Needs: Triage :mag:
Status: Fixed