Missing click event for inside <button> element on firefox

后端 未结 4 1723
日久生厌
日久生厌 2020-11-28 15:41

I am experiencing problem with Firefox 32 when I bind action on click event of span element inside a button element. Other browsers seems to works well.

Here the cod

4条回答
  •  清歌不尽
    2020-11-28 16:14

    You have to add the pointer-events property to the span element.

    button span {
      pointer-events: none;
    }
    

提交回复
热议问题