Comments (8)
Isn't it only shows the entered tags? @JaleelB
@kavinda1995 Yes, the popover shows the entered tags to prevent them from causing a long tag list which could possibly cause layout shifts. Regarding the possible options, I will work on a feature to toggle showing it list on focus or something. I misunderstood the original comment
from shadcn-tag-input.
@asaf @kavinda1995
The enhancements discussed in this thread have been addressed in the v1.2.0 release.
Key Improvements:
- Integrated a popover for autocomplete list options to optimize screen space usage.
- Added checkbox indicators for selected autocomplete items.
- Ensured inputs remain editable when the popover is open.
- Respected user-defined
onBlur
andonFocus
events.
Thank you for your feedback! Feel free to test the new version and provide further feedback if needed.
from shadcn-tag-input.
But the list of all possible tags is always opened and with static 10 elements.
@asaf What do you mean by static 10 elements? You can extend the number of items in the list of auto-complete options. Regarding the list of auto-complete options always being shown, I see what you mean. I'll add a feature to only show it on input focus or something. That was a misunderstanding on my part with your original comment
from shadcn-tag-input.
+1 to this. Not having a popover makes this library a no-go for mobile devices
from shadcn-tag-input.
Screen.Recording.2024-05-22.at.8.32.07.AM.mov
@asaf This is something you can already do by passing the usePopoverForTags boolean. See the general properties under the API reference page: https://emblor.jaleelbennett.com/api-reference
from shadcn-tag-input.
But the list of all possible tags is always opened and with static 10 elements.
from shadcn-tag-input.
Isn't it only shows the entered tags? @JaleelB
from shadcn-tag-input.
I think it make sense, it can shrink down into a sort of a selectbox to avoid taking large portion of the screen :)
this is somewhat relevant to #29
from shadcn-tag-input.
Related Issues (20)
- license info HOT 2
- Draggable - UX suggestion HOT 2
- add npm i uuid
- add npm i uuid HOT 1
- Clicking a tag's background in a dropdown misses HOT 1
- Auto complete options HOT 1
- Autocomplete suggestions are muted and unclickable? HOT 1
- React hook form HOT 3
- Invalid DOM property `stroke-linejoin`
- Inline tags HOT 8
- Tag Shapes Property - Rounded vs Pill HOT 1
- how to style a tag ?
- Feature request: Keyboard Interactions HOT 1
- UI issue with inline tags HOT 15
- Inline tags - Remove tag when backspace key pressed HOT 1
- Inline tags show horizontal in input HOT 6
- Is it possible to link autocomplete with the addition of new tags? HOT 1
- Feature request: Autocomplete Overflow HOT 3
- Autocomplete feature not working properly HOT 2
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 shadcn-tag-input.