Open vaynevayne opened 1 year ago
原来的逻辑: input onBlur 时,就会收起面板, tags 模式下: input onBlur 时 不做任何操作 面板onBlur 时, 清空搜索值并且添加选项
新逻辑: input onBlur 时,不收起面板 面板onBlur 时, 收起面板 tags 模式下, input onBlur 时 不做任何操作 面板onBlur 时, 清空搜索值 不添加选项 ps: 如果需要onBlur 时添加选项, 需要用户使用受控模式自行添加
@afc163 这里,
onBlur
收起是预期行为,失去焦点不要收起的目的是什么?
The latest updates on your projects. Learn more about Vercel for Git ↗︎