twitter/bootstrap — Issue #2262: Replace "mobile" collapsible nav with simple on/off toggle
Author: robflaherty
Created: 2012-02-25 21:41:12+00:00
State: open

Given that DOM animation performance on mobile devices is so poor (resulting in slow, choppy transitions even on good mobile/tablet devices), what do you think about replacing the collapse animation in the responsive mobile nav with a simple class toggle (absolutely positioning the dropdown)?

Over-optimization or mobile performance boost?

I hacked up an example showing the alternative behavior:

Fullscreen demo for testing on mobile device:
http://dl.dropbox.com/u/1125125/bootstrap-mobile/index.html

JS Fiddle:
http://jsfiddle.net/zrkCC/11/