uni-app wgt 复制等事件 不灵敏,滑动与longtap 冲突,longtap与tap冲突,文本框中粘贴的文本没有自动撑高

uni-app wgt 复制等事件 不灵敏,滑动与longtap 冲突,longtap与tap冲突
将要用的数据存入:data-text ,数据会比较准确

<view class="text-message " >
		<view  @tap="handlerURL" @longtap="longtap" :data-text="text"  @touchend="touchend" @touchmove="touchMove">
			<view v-for="(item, index) in renderDom" :key="index"
				:data-item="item">
				{{item.text}}
			view>
		view>
	view>
// 长按复制
			longtap(e) {
				console.log(e.currentTarget.dataset.text)
				if(!this.ifLongtap) return
				let that = this
				this.touching = true
				console.log('长按')
			},
			handlerURL(e){
				console.log(e.currentTarget.dataset.text)
				if(!this.ifLongtap) return
				console.log('点击')
				if(this.touching) return
			},
			touchend(e) {
				let that = this
				this.ifLongtap = true
				setTimeout(()=>{
					that.touching = false
				},200)
			},
			touchMove(){
				this.ifLongtap = false;
			}

uni-app 文本框中粘贴的文本没有自动撑高

<scroll-view class="message-input-box" :scroll-y="true"  
						 :scroll-top="scrollTop"  :scroll-into-view="scrollView"
						>
						<textarea  class="TUI-message-input-area uni-input" :adjust-position="true"     cursor-spacing="20"
							auto-height  
							placeholder-class="input-placeholder" placeholder="说点" 
							/>
						 <view id="scrollView" class="scrollView">	</view>
						 </scroll-view>

你可能感兴趣的:(前端,uni-app,javascript,前端)