taro icon indicating copy to clipboard operation
taro copied to clipboard

input输入框的adjustPosition属性设置为true不起作用

Open rich-bot opened this issue 2 years ago • 2 comments

相关平台

微信小程序

小程序基础库: 2.24.3 使用框架: Vue 3

复现步骤

在input上设置adjustPosition为true 点击输入密码 弹出输入键盘 但页面没有往上 image

期望结果

弹出输入框整个页面往上

实际结果

页面没有动

环境信息

Taro CLI 3.4.10 environment info:
    System:
      OS: macOS 11.5.2
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
      Yarn: 1.22.19 - ~/.yarn/bin/yarn
      npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
    npmPackages:
      @tarojs/cli: ^3.4.8 => 3.4.8 
      @tarojs/components: 3.4.8 => 3.4.8 
      @tarojs/mini-runner: 3.4.8 => 3.4.8 
      @tarojs/plugin-html: ^3.4.9 => 3.4.9 
      @tarojs/runtime: 3.4.8 => 3.4.8 
      @tarojs/taro: 3.4.8 => 3.4.8 
      @tarojs/webpack-runner: 3.4.8 => 3.4.8 
      babel-preset-taro: 3.4.8 => 3.4.8 
      eslint-config-taro: 3.4.8 => 3.4.8 

rich-bot avatar Jun 29 '22 10:06 rich-bot

:adjust-position

而且默认就是 true

Chen-jj avatar Jun 29 '22 17:06 Chen-jj

使用 preact ,input adjustPosition设置成false不生效, 切换回react后没问题,taro版本3.4.12。

wowhy avatar Jun 30 '22 01:06 wowhy