Closed harshmangalam closed 1 year ago
Thanks for the report @harshmangalam I can reproduce it on my local env too
I investigated the problem and it's a @clack/prompts
issue.
I recreated this simple example to reproduce it
import { select } from '@clack/prompts';
const options = [...Array(50).keys()].map((i) => ({
value: `value-${i}`,
label: `label-${i}`,
}));
await select({
message: 'Pick up ones',
options,
});
Btw from a fast investigation this issue is related to the height/available lines of the terminal. in fact, if I give to the terminal more "space" the issue disappears.
They are working to solve this problem https://github.com/natemoo-re/clack/issues/173
I close this issue because it's not a Qwik one. @harshmangalam I love your help on stackoverflow 🚀
Which component is affected?
Starters / CLI
Describe the bug
https://github.com/BuilderIO/qwik/assets/57381638/f699ee05-a5b0-4c87-b6d4-0333e6aa7f5a
Reproduction
Run
pnpm qwik add
Steps to reproduce
pnpm qwik add
System Info
Additional Information
It selects multiple options when i use arrow keys and it also replicated the options as visible in attached video.