react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Can't paste from clipboard on mobile

Open MeatyBanan4ik opened this issue 3 years ago • 5 comments

With a long press on the form, to call the menu with an insert, the select loses focus, this can also be seen on the demo on the site

MeatyBanan4ik avatar Jul 14 '22 09:07 MeatyBanan4ik

Any workaround to make the paste work on mobile?

flaviogranero avatar Nov 09 '22 13:11 flaviogranero

Sorry, I couldn't find it, but if you manage to get around this, please write

MeatyBanan4ik avatar Nov 09 '22 16:11 MeatyBanan4ik

@MeatyBanan4ik @flaviogranero In react-select, actual input field is only 2px wide. Make it 100% in order for click event to work on mobile.

pajcho avatar Jan 15 '24 09:01 pajcho

@MeatyBanan4ik @flaviogranero In react-select, actual input field is only 2px wide. Make it 100% in order for click event to work on mobile.

I was try it and not work, the "issue still" when touch mobile on input but the "paste" or copy options (from s.o) don't appareers.

the input has a 100vh for width

giovannyreyeso avatar Jan 18 '24 05:01 giovannyreyeso

styles={{
  input: (base) => ({
    ...base,
    display: "inline-flex",
  }),
}}

worked for me. no apparent side-effects with our usage. didn't dig deeper.

cdeath avatar Jan 26 '24 13:01 cdeath