Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

中文输入bug,输入框宽度无法自适应 #365

Open
rockyxia opened this issue Mar 21, 2019 · 0 comments
Open

中文输入bug,输入框宽度无法自适应 #365

rockyxia opened this issue Mar 21, 2019 · 0 comments

Comments

@rockyxia
Copy link

$(data.fake_input).bind('keypress',无法监听到中文输入时自适应宽度
增加了一段change的监听
$(data.fake_input).bind('input propertychange', function(event) { if (event.data.autosize) { $(event.target).doAutosize(settings) } })

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant