UIWebView throwing exception for [WebActionDisablingCALayerDelegate setBeingRemoved:]

前端 未结 6 1957
清酒与你
清酒与你 2021-01-30 01:31

When running against iOS 8, I began to see the following exception coming from the deep bowels of UIWebView:

[WebActionDisablingCALayerDelega

6条回答
  •  青春惊慌失措
    2021-01-30 02:19

    As @André Morujão answered, removing -webkit-overflow-scrolling:touch; from the scrolling element stops the exception. But I found that the exception was only happening when I added display:none css to the scrolling element.

    Edit: I was able to continue using display:none to hide my scrolling element by putting -webkit-overflow-scrolling:touch; inside of its own class .scroll and using jquery to add and remove that class from my scrolling element before and after hiding it:

    
    
    

提交回复
热议问题