Giter VIP home page Giter VIP logo

Comments (3)

nooooooom avatar nooooooom commented on June 12, 2024

这应该算是设计如此,可以考虑一些纠正搜索词的场景,例如我有一个职业列表,里面有前端工程师、后端工程师、助理工程师等等,当我需要将搜索范围从助理工程师扩展至工程师时,这时候使用鼠标将助理选中删除比使用键盘定位删除更便捷。

如果你能提供一些这种表现形式带来了更高实用性的场景的话,我们可以尝试添加一个 prop 用来处理这种情况。

from naive-ui.

codeDevStory avatar codeDevStory commented on June 12, 2024

不要这种

再次点击为什么要收起来?

为什么我再次点击不是中间插入继续输入呢?

想收起来你回车或者失去焦点就好了

from naive-ui.

yuanhongyu123 avatar yuanhongyu123 commented on June 12, 2024

不要这种

再次点击为什么要收起来?

为什么我再次点击不是中间插入继续输入呢?

想收起来你回车或者失去焦点就好了

再次点击,你可以中间插入继续输入啊,
只不过同时将下拉框收起来而已,并且当你继续输入的时候,由于数据改变下拉框还是会自动展开,
因为很多用户看到下拉框上有个箭头,下意识的就是点一下就想收起下拉框,这是个习惯操作的问题,
因为不可过滤的时候,这样是可以收起来的,这就导致同样的下拉框,收起逻辑不一样,
特别是在这种下拉框遮挡住下面的输入框的时候,用户使用起来就很疑惑

from naive-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.