liujia965057396

contenteditable = true 中 放入 contenteditable = false 的元素之后,光标飘到最右边,什么原因?

  •  
  •   liujia965057396 · Aug 8, 2019 · 3053 views
    This topic created in 2476 days ago, the information mentioned may be changed or developed.

    contenteditable = true 中 放入 contenteditable = false 的元素。在手机端上看的时候 光标是飘在输入框最后的,但是字的内容其实很短。在 span 后面再写一个字光标恢复正常。请问大家知道这个应该怎么解决吗?

    1 replies    2021-02-19 17:31:24 +08:00
    erwin985211
        1
    erwin985211  
       Feb 19, 2021
    挖坟,遇到同一个问题。解决办法是说服产品换一种实现方式
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4635 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:06 · PVG 09:06 · LAX 18:06 · JFK 21:06
    ♥ Do have faith in what you're doing.