【问题标题】:textarea corner resize icon not hiding even when the popup above the textarea have large z-index..即使 textarea 上方的弹出窗口具有较大的 z-index,textarea 角调整大小图标也不会隐藏。
【发布时间】:2016-04-26 12:34:50
【问题描述】:

我正在一个页面中工作,其中包含 textarea 和一个按钮,当单击按钮时,我必须显示弹出窗口。

当弹出窗口打开时,文本区域右下角调整大小图标在弹出窗口上可见,即使弹出窗口具有较大的 z-index。

此问题仅重现 mac osx 10.9.5 chrome 浏览器。

提前致谢

Here is the screen shot of the popup

【问题讨论】:

  • 你用了什么代码?发布它

标签: html css macos google-chrome textarea


【解决方案1】:

不是一个真正的答案,而是一个更糟糕的解决方法:隐藏这个东西..

textarea {resize: none;}

【讨论】:

    【解决方案2】:

    这个问题仍然存在。

    经过多次尝试,我找到了解决此问题的方法。 这可能看起来很棘手。但相信我,这是可行的。

    <i class="test"></i>
    .test:after {
       content: "";
        position: absolute;
        animation: .3s ease-out forwards toggle-icon-off;
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-08
      • 2018-11-18
      • 2010-10-09
      • 2015-09-03
      • 2019-10-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多