File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -737,6 +737,14 @@ function _bindEvents(){
737737 }
738738 } , 500 ) ;
739739 } ) ;
740+ // CLOUD-15103 解决 ios 部分手机点击输入框失焦后输入框不能自动收回问题
741+ utils . on ( doms . textInput , "blur" , function ( ) {
742+ setTimeout ( function ( ) {
743+ // document.body.scrollTop = 9999; // 在 iframe 下会有问题
744+ doms . chatWrapper . scrollIntoView ( false ) ; // 元素的底端将和其所在滚动区的可视区域的底端对齐
745+ alert ( "134" ) ;
746+ } , 500 ) ;
747+ } ) ;
740748 }
741749
742750 // 回车发送消息
@@ -775,15 +783,6 @@ function _bindEvents(){
775783 }
776784 }
777785 } ) ;
778-
779- // CLOUD-15103 解决 ios 部分手机点击输入框失焦后输入框不能自动收回问题
780- utils . on ( doms . textInput , "blur" , function ( ) {
781- setTimeout ( function ( ) {
782- // document.body.scrollTop = 9999; // 在 iframe 下会有问题
783- document . body . scrollIntoView ( false ) ; // 元素的底端将和其所在滚动区的可视区域的底端对齐
784- alert ( "123" ) ;
785- } , 500 ) ;
786- } ) ;
787786}
788787
789788function _close ( ) {
You can’t perform that action at this time.
0 commit comments