Skip to content

fix(mp-weixin): 修复 input 嵌套 keyboard-accessory 时编译后两者未保持嵌套层级的Bug (question/209237) #5608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

chouchouji
Copy link
Contributor

@chouchouji chouchouji commented Jul 3, 2025

社区帖子

https://ask.dcloud.net.cn/question/209237

测试代码

<template>
      <input style="border: 1px solid red" type="text">
      <input style="border: 1px solid red" type="checkbox"></input>
      <input style="border: 1px solid red" type="radio" />
      <input style="border: 1px solid red" type="file">Some content</input>
      <input style="border: 1px solid red" type="text">xxx</input>
      <input style="border: 1px solid red">
        <keyboard-accessory>    
                    234  
              </keyboard-accessory> 
      </input>
      <input style="border: 1px solid red" type="text" disabled>
</template>

<script>
export default {
  data() {
    return {
      show: false,
    };
  },
};
</script>

编译产物

<input style="border:1px solid red" type="text"/>
<input style="border:1px solid red" type="checkbox"></input>
<input style="border:1px solid red" type="radio"/>
<input style="border:1px solid red" type="file">Some content</input>
<input style="border:1px solid red" type="text">xxx</input>
<input style="border:1px solid red"><keyboard-accessory> 234 </keyboard-accessory></input>
<input style="border:1px solid red" type="text" disabled/>

@chouchouji chouchouji force-pushed the fix-input-auot-close branch from e9e5699 to 7255a90 Compare July 3, 2025 03:38
Copy link

github-actions bot commented Jul 3, 2025

Size report

Path Size
packages/size-check/dist/size-check.es.js 47.18 KB (0%)
packages/size-check/dist/style.css 2.82 KB (0%)
packages/uni-app/dist/uni-app.es.js 2.5 KB (0%)
packages/uni-h5-vue/dist/vue.runtime.esm.js 76.41 KB (0%)
packages/uni-mp-vue/dist/vue.runtime.esm.js 43.13 KB (0%)
packages/uni-mp-alipay/dist/uni.api.esm.js 14.7 KB (0%)
packages/uni-mp-alipay/dist/uni.mp.esm.js 7.99 KB (0%)
packages/uni-mp-baidu/dist/uni.api.esm.js 11.33 KB (0%)
packages/uni-mp-baidu/dist/uni.mp.esm.js 9.68 KB (0%)
packages/uni-mp-qq/dist/uni.api.esm.js 10.65 KB (0%)
packages/uni-mp-qq/dist/uni.mp.esm.js 7.6 KB (0%)
packages/uni-mp-toutiao/dist/uni.api.esm.js 10.5 KB (0%)
packages/uni-mp-toutiao/dist/uni.mp.esm.js 9.42 KB (0%)
packages/uni-mp-weixin/dist/uni.api.esm.js 11.65 KB (0%)
packages/uni-mp-weixin/dist/uni.mp.esm.js 7.94 KB (0%)
packages/uni-quickapp-webview/dist/uni.api.esm.js 10.6 KB (0%)
packages/uni-quickapp-webview/dist/uni.mp.esm.js 8.16 KB (0%)

@chouchouji chouchouji force-pushed the fix-input-auot-close branch from 7255a90 to b15b308 Compare July 3, 2025 04:03
@chouchouji chouchouji changed the title wip(mp): input auto close fix(mp): 修复 input 嵌套 keyboard-accessory 时编译后两者未保持嵌套层级的Bug (question/209237) Jul 3, 2025
@chouchouji chouchouji force-pushed the fix-input-auot-close branch from b15b308 to a6883c8 Compare July 4, 2025 10:07
@chouchouji chouchouji force-pushed the fix-input-auot-close branch from a6883c8 to 23f5a4a Compare July 4, 2025 10:08
@chouchouji chouchouji changed the title fix(mp): 修复 input 嵌套 keyboard-accessory 时编译后两者未保持嵌套层级的Bug (question/209237) fix(mp-weixin): 修复 input 嵌套 keyboard-accessory 时编译后两者未保持嵌套层级的Bug (question/209237) Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant