Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@lei9444
Copy link
Contributor

@lei9444 lei9444 commented Sep 30, 2020

Description

The root cause is the same as #4171

The reason is
dialog data update -> setSelectedIds([]) -> onSelect -> shell state change
This looks like a anti-pattern

There is a small demo code: https://codesandbox.io/s/test-jy65g?file=/src/index.js

This is a quick fix for the input typing issue now, next step @yeze322 will refactor the ids‘ computation (selectedIds and focusedid)

Task Item

closes #4102
refs #4171

Screenshots

@coveralls
Copy link

coveralls commented Sep 30, 2020

Coverage Status

Coverage decreased (-0.002%) to 55.446% when pulling cff732e on lei9444:typing into 59f4649 on microsoft:main.

@cwhitten cwhitten merged commit 51c59a9 into microsoft:main Sep 30, 2020
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
@lei9444 lei9444 deleted the typing branch February 1, 2021 02:08
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typing too fast in composer results in dropped characters

5 participants