Comments (3)
这应该算是设计如此,可以考虑一些纠正搜索词的场景,例如我有一个职业列表,里面有前端工程师、后端工程师、助理工程师等等,当我需要将搜索范围从助理工程师扩展至工程师时,这时候使用鼠标将助理选中删除比使用键盘定位删除更便捷。
如果你能提供一些这种表现形式带来了更高实用性的场景的话,我们可以尝试添加一个 prop
用来处理这种情况。
from naive-ui.
不要这种
再次点击为什么要收起来?
为什么我再次点击不是中间插入继续输入呢?
想收起来你回车或者失去焦点就好了
from naive-ui.
不要这种
再次点击为什么要收起来?
为什么我再次点击不是中间插入继续输入呢?
想收起来你回车或者失去焦点就好了
再次点击,你可以中间插入继续输入啊,
只不过同时将下拉框收起来而已,并且当你继续输入的时候,由于数据改变下拉框还是会自动展开,
因为很多用户看到下拉框上有个箭头,下意识的就是点一下就想收起下拉框,这是个习惯操作的问题,
因为不可过滤的时候,这样是可以收起来的,这就导致同样的下拉框,收起逻辑不一样,
特别是在这种下拉框遮挡住下面的输入框的时候,用户使用起来就很疑惑
from naive-ui.
Related Issues (20)
- show-menu HOT 3
- 【n-select】能不能手动focus的时候,自动将下拉框打开 HOT 2
- 'pnpm lint' results in TypeError: Converting circular structure to JSON HOT 1
- 希望Code组件可以自定义起始行号
- 500 document is not defined when using n-popover in Nuxt3 HOT 3
- 导出excel乱码 HOT 2
- Select组件支持分页异步加载
- n-upload的照片墙功能
- 【Calendar】日历组件希望可以增加一个右上角切换月份的功能区插槽,或者合并到header插槽
- Tab 初始化时无法填值
- Upload 组件 data 属性为函数时,直接获取形参 file.name 返回 undefined HOT 3
- 支持 DataTable 不同列的 filter 结果取并
- [NDataTable] 在没有数据的情况下,不会有横向滚动条 HOT 2
- 上传组件除了图片类型,其他类型缩略图都不生效 HOT 1
- Drawer组件添加一个lazy属性,指定是否懒挂载 HOT 1
- 建议:n-upload组件添加一个重新上传回调方法
- 需求:为Cascader增加API:render-prefix和render-suffix HOT 2
- n-input组件添加失焦后更新值属性 HOT 1
- n-select组件添加失焦后更新值属性 HOT 2
- 组件文档 出现错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naive-ui.