Upload

Loading icon Loading...

This video is unavailable.

Mobile safari position fixed hit area bug

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like Corey Dutson's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike Corey Dutson's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add Corey Dutson's video to your playlist.

Published on May 24, 2012

Demo video of a weird bug with mobile safari.

Basically, when using a position:fixed menu bar that contains links that scroll the page via JavaScript, the 'hit area' doesn't move with the page. It remains where it was unless you manually scroll the page with your finger.

As a bonus: if you use the menu and it only scrolls you a small amount, you can actually click on the spot where it WAS, and the hit area will react. I forgot to demo that in this video.

  • Category

  • License

    Standard YouTube License

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Loading icon Loading...

Loading...
Working...
to add this to Watch Later

Add to