Category Archives: Mobile

in-app browser issue

Reference:

  1. https://blog.user.today/inapp-browser-webview-problem/
  2. https://www.wfublog.com/2018/06/mobile-detect-webview-fb-line-in-app.html

Package to detect in-app browser:

https://github.com/f2etw/detect-inapp

Code to detect in-app browser:

 

body overflow issue

body overflow hidden, 要附加 -webkit-overflow-scrolling: touch, 不然手機看會以為壞掉了,卡卡的

figure 不是取代 image tag,在這裡使用image就好