Is there a workaround for the Android browser bug with CSS-Position and clickable areas?

前端 未结 3 658
傲寒
傲寒 2021-02-13 05:02

When you have some clickable content like , or and before this you have an absolutely positioned eleme

3条回答
  •  心在旅途
    2021-02-13 06:04

    This is a quick blindfolded reply, so let me know if I should expand/fix it further. The general idea being a CSS class for both the hover and focus events that disables pointer interaction.

    yourElementClass:focus, yourElementClass:hover {
        pointer-events: none;
    }
    

提交回复
热议问题