/Crazy-Position

Detects versions of the Android stock browser that have an incomplete implementation of position: fixed.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Versions Android stock browser prior to 4.4 appear to have an incomplete or error-prone implementation of position: fixed. Sometimes this can be fixed by using to prevent user zooming but not always. Unfortunately it is also notoriously difficult to detect position: fixed problems.

This plugin looks for specific user agents known to have the issue and attaches a custom class — .crazy_position — to body when such a device is encountered.