ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.5k stars 2.37k forks source link

【SearchBar】SearchBar在被用到picker上在ios中一旦点击输入就会超出屏幕长度, #6622

Open gosthand opened 1 month ago

gosthand commented 1 month ago

Version of antd-mobile

5.35.0

Operating system and its version

iOS

Browser and its version

ios

Sandbox to reproduce

No response

What happened?

` <Picker cancelText="" title={ <SearchBar className="mr-20" onChange={textOnChange} placeholder={getIntlText("apply_form_please_enter")} /> } // cancelText="" columns={columnsList} visible={visible} onClose={() => { setVisible(false); }} renderLabel={(item) => { return (

{item.label}

{item.value}

      );
    }}
    value={[value.areaCode]}
    onConfirm={onPreValueChange}
  />`

Relevant log output

No response