SUI-Components / sui-components

SUI Components
https://sui-components.vercel.app/
MIT License
138 stars 58 forks source link

🪲 Select opens the keyboard #2302

Open sergiqm94 opened 2 years ago

sergiqm94 commented 2 years ago

URL

https://sui-components.vercel.app/workbench/molecule/select/demo

Steps to reproduce

Mobile version

Click on select and the keyboard opens

Expected Behavior

On mobile, when you click on the select button, the keyboard opens. Previously this was not the case. If we fix the version to 1.53 it works as expected.

Screenshots

image

Which device have you used?

Which operating systems have you used?

browser and version

No response

Additional info

No response

Xaconi commented 1 year ago

Hey can I get this one?

andresin87 commented 1 year ago

I think this is hard to fix. Are you sure?

andresin87 commented 1 year ago

Ok. i Tried. Its simpler than i initialy imagined.

https://github.com/SUI-Components/sui-components/blob/master/components/molecule/select/src/components/MoleculeInputSelect.js#L23

add forced a readOnly true value prop to the children's Injector

Xaconi commented 1 year ago

@andresin87 ok, I'll try... but for now, after a clean npm install of the repo, the command npm start returns me this error 😢

image

andresin87 commented 1 year ago

what are your environment.

try to run the respawn run script

andresin87 commented 1 year ago

then run npm run start dev molecule/select

andresin87 commented 1 year ago

Thats the easy way to only load what is needed

Xaconi commented 1 year ago

Same error as previous comment...